home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Developer Essentials / Technical Docs / Inside Macintosh / New Inside Mac - draft / Files < prev    next >
MacBinary  |  1992-01-14  |  3.9 MB  |  [ONLN/HLX2]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
100% file MacBinary II, inited, Tue Jan 14 07:04:02 1992, modified Tue Jan 14 12:05:41 1992, creator 'HLX2', type 'ONLN', 3994175 bytes "Files" , at 0x3cf2bf 67280 bytes resource default (weak)
99% file data default
65% TrID TTComp archive compressed (bin-2K) default (weak)
33% TrID MacBinary 2 default (weak)
0% TrID Sybase iAnywhere database files default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[ONLN]
macFileCreator[HLX2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 05 46 69 6c 65 73 00 | 00 00 00 00 00 00 00 00 |..Files.|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 3c f2 3f 00 | 01 06 d0 a5 98 82 32 a5 |....<.?.|......2.|
|00000060| 98 c8 e5 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 36 3c 00 00 |........|....6<..|
|00000080| 49 6e 73 69 64 65 20 4d | 61 63 69 6e 74 6f 73 68 |Inside M|acintosh|
|00000090| 3a 0d 46 69 6c 65 73 0d | f0 09 41 70 70 6c 65 20 |:.Files.|..Apple |
|000000a0| 43 6f 6d 70 75 74 65 72 | 2c 20 49 6e 63 2e 20 0d |Computer|, Inc. .|
|000000b0| a9 20 31 39 39 31 2c 20 | 41 70 70 6c 65 20 43 6f |. 1991, |Apple Co|
|000000c0| 6d 70 75 74 65 72 2c 20 | 49 6e 63 2e 0d 41 6c 6c |mputer, |Inc..All|
|000000d0| 20 72 69 67 68 74 73 20 | 72 65 73 65 72 76 65 64 | rights |reserved|
|000000e0| 2e 0d 50 72 69 6e 74 65 | 64 20 69 6e 20 74 68 65 |..Printe|d in the|
|000000f0| 20 55 6e 69 74 65 64 20 | 53 74 61 74 65 73 20 6f | United |States o|
|00000100| 66 20 0d 41 6d 65 72 69 | 63 61 2e 0d 54 68 65 20 |f .Ameri|ca..The |
|00000110| 41 70 70 6c 65 20 6c 6f | 67 6f 20 69 73 20 61 20 |Apple lo|go is a |
|00000120| 72 65 67 69 73 74 65 72 | 65 64 20 74 72 61 64 65 |register|ed trade|
|00000130| 6d 61 72 6b 20 6f 66 20 | 41 70 70 6c 65 20 43 6f |mark of |Apple Co|
|00000140| 6d 70 75 74 65 72 2c 20 | 49 6e 63 2e 20 55 73 65 |mputer, |Inc. Use|
|00000150| 20 6f 66 20 74 68 65 20 | d2 6b 65 79 62 6f 61 72 | of the |.keyboar|
|00000160| 64 d3 20 0d 41 70 70 6c | 65 20 6c 6f 67 6f 20 28 |d. .Appl|e logo (|
|00000170| 4f 70 74 69 6f 6e 2d 53 | 68 69 66 74 2d 4b 29 20 |Option-S|hift-K) |
|00000180| 66 6f 72 20 63 6f 6d 6d | 65 72 63 69 61 6c 20 70 |for comm|ercial p|
|00000190| 75 72 70 6f 73 65 73 20 | 77 69 74 68 6f 75 74 20 |urposes |without |
|000001a0| 74 68 65 20 70 72 69 6f | 72 20 77 72 69 74 74 65 |the prio|r writte|
|000001b0| 6e 20 63 6f 6e 73 65 6e | 74 20 6f 66 20 0d 41 70 |n consen|t of .Ap|
|000001c0| 70 6c 65 20 6d 61 79 20 | 63 6f 6e 73 74 69 74 75 |ple may |constitu|
|000001d0| 74 65 20 74 72 61 64 65 | 6d 61 72 6b 20 69 6e 66 |te trade|mark inf|
|000001e0| 72 69 6e 67 65 6d 65 6e | 74 20 61 6e 64 20 75 6e |ringemen|t and un|
|000001f0| 66 61 69 72 20 63 6f 6d | 70 65 2d 74 69 74 69 6f |fair com|pe-titio|
|00000200| 6e 20 69 6e 20 76 69 6f | 6c 61 74 69 6f 6e 20 6f |n in vio|lation o|
|00000210| 66 20 66 65 64 65 72 61 | 6c 20 61 6e 64 20 73 74 |f federa|l and st|
|00000220| 61 74 65 20 6c 61 77 73 | 2e 0d 41 70 70 6c 65 20 |ate laws|..Apple |
|00000230| 43 6f 6d 70 75 74 65 72 | 2c 20 49 6e 63 2e 20 0d |Computer|, Inc. .|
|00000240| 32 30 35 32 35 20 4d 61 | 72 69 61 6e 69 20 41 76 |20525 Ma|riani Av|
|00000250| 65 6e 75 65 20 20 0d 43 | 75 70 65 72 74 69 6e 6f |enue .C|upertino|
|00000260| 2c 20 43 41 20 20 39 35 | 30 31 34 2d 36 32 39 39 |, CA 95|014-6299|
|00000270| 0d 34 30 38 2d 39 39 36 | 2d 31 30 31 30 20 20 0d |.408-996|-1010 .|
|00000280| 41 70 70 6c 65 2c 20 74 | 68 65 20 41 70 70 6c 65 |Apple, t|he Apple|
|00000290| 20 6c 6f 67 6f 2c 20 41 | 50 44 41 2c 20 41 70 70 | logo, A|PDA, App|
|000002a0| 6c 65 4c 69 6e 6b 2c 20 | 41 70 70 6c 65 53 68 61 |leLink, |AppleSha|
|000002b0| 72 65 2c 20 0d 41 70 70 | 6c 65 54 61 6c 6b 2c 20 |re, .App|leTalk, |
|000002c0| 41 70 70 6c 65 20 49 49 | 47 53 2c 20 41 2f 55 58 |Apple II|GS, A/UX|
|000002d0| 2c 20 45 74 68 65 72 54 | 61 6c 6b 2c 20 48 79 70 |, EtherT|alk, Hyp|
|000002e0| 65 72 43 61 72 64 2c 20 | 48 79 70 65 72 2d 54 61 |erCard, |Hyper-Ta|
|000002f0| 6c 6b 2c 20 49 6d 61 67 | 65 57 72 69 74 65 72 2c |lk, Imag|eWriter,|
|00000300| 20 4c 61 73 65 72 57 72 | 69 74 65 72 2c 20 4c 6f | LaserWr|iter, Lo|
|00000310| 63 61 6c 54 61 6c 6b 2c | 20 4d 61 63 2c 20 4d 61 |calTalk,| Mac, Ma|
|00000320| 63 69 6e 74 6f 73 68 2c | 20 4d 50 57 2c 20 4d 75 |cintosh,| MPW, Mu|
|00000330| 6c 74 69 46 69 6e 64 65 | 72 2c 20 53 41 4e 45 2c |ltiFinde|r, SANE,|
|00000340| 20 61 6e 64 20 54 6f 6b | 65 6e 54 61 6c 6b 20 61 | and Tok|enTalk a|
|00000350| 72 65 20 72 65 67 69 73 | 74 65 72 65 64 20 74 72 |re regis|tered tr|
|00000360| 61 64 65 2d 6d 61 72 6b | 73 20 6f 66 20 41 70 70 |ade-mark|s of App|
|00000370| 6c 65 20 43 6f 6d 70 75 | 74 65 72 2c 20 49 6e 63 |le Compu|ter, Inc|
|00000380| 2e 0d 41 70 70 6c 65 20 | 44 65 73 6b 74 6f 70 20 |..Apple |Desktop |
|00000390| 42 75 73 2c 20 42 61 6c | 6c 6f 6f 6e 20 48 65 6c |Bus, Bal|loon Hel|
|000003a0| 70 2c 20 46 69 6e 64 65 | 72 2c 20 4b 61 6e 6a 69 |p, Finde|r, Kanji|
|000003b0| 54 61 6c 6b 2c 20 4d 6f | 6f 66 2c 20 51 75 69 63 |Talk, Mo|of, Quic|
|000003c0| 6b 44 72 61 77 2c 20 52 | 65 73 45 64 69 74 2c 20 |kDraw, R|esEdit, |
|000003d0| 54 72 75 65 54 79 70 65 | 2c 20 61 6e 64 20 5a 68 |TrueType|, and Zh|
|000003e0| 6f 6e 67 2d 57 65 6e 20 | 54 61 6c 6b 20 61 72 65 |ong-Wen |Talk are|
|000003f0| 20 74 72 61 64 65 2d 6d | 61 72 6b 73 20 6f 66 20 | trade-m|arks of |
|00000400| 41 70 70 6c 65 20 43 6f | 6d 70 75 74 65 72 2c 20 |Apple Co|mputer, |
|00000410| 49 6e 63 2e 0d 48 65 6c | 76 65 74 69 63 61 20 61 |Inc..Hel|vetica a|
|00000420| 6e 64 20 54 69 6d 65 73 | 20 61 72 65 20 0d 72 65 |nd Times| are .re|
|00000430| 67 69 73 74 65 72 65 64 | 20 74 72 61 64 65 6d 61 |gistered| tradema|
|00000440| 72 6b 73 20 6f 66 20 0d | 4c 69 6e 6f 74 79 70 65 |rks of .|Linotype|
|00000450| 20 43 6f 6d 70 61 6e 79 | 2e 0d 49 54 43 20 5a 61 | Company|..ITC Za|
|00000460| 70 66 20 44 69 6e 67 62 | 61 74 73 20 69 73 20 61 |pf Dingb|ats is a|
|00000470| 20 72 65 67 69 73 74 65 | 72 65 64 20 74 72 61 64 | registe|red trad|
|00000480| 65 6d 61 72 6b 20 6f 66 | 20 49 6e 74 65 72 6e 61 |emark of| Interna|
|00000490| 74 69 6f 6e 61 6c 20 54 | 79 70 65 66 61 63 65 20 |tional T|ypeface |
|000004a0| 43 6f 72 70 6f 72 61 74 | 69 6f 6e 2e 0d 4d 61 63 |Corporat|ion..Mac|
|000004b0| 50 61 69 6e 74 20 69 73 | 20 61 20 72 65 67 69 73 |Paint is| a regis|
|000004c0| 74 65 72 65 64 20 74 72 | 61 64 65 2d 6d 61 72 6b |tered tr|ade-mark|
|000004d0| 20 6f 66 20 43 6c 61 72 | 69 73 20 43 6f 72 70 6f | of Clar|is Corpo|
|000004e0| 72 61 74 69 6f 6e 2e 0d | 4e 75 42 75 73 20 69 73 |ration..|NuBus is|
|000004f0| 20 61 20 74 72 61 64 65 | 6d 61 72 6b 20 6f 66 20 | a trade|mark of |
|00000500| 54 65 78 61 73 20 0d 49 | 6e 73 74 72 75 6d 65 6e |Texas .I|nstrumen|
|00000510| 74 73 2e 0d 50 6f 73 74 | 53 63 72 69 70 74 20 69 |ts..Post|Script i|
|00000520| 73 20 61 20 72 65 67 69 | 73 74 65 72 65 64 20 74 |s a regi|stered t|
|00000530| 72 61 64 65 2d 6d 61 72 | 6b 2c 20 61 6e 64 20 49 |rade-mar|k, and I|
|00000540| 6c 6c 75 73 74 72 61 74 | 6f 72 20 69 73 20 61 20 |llustrat|or is a |
|00000550| 0d 74 72 61 64 65 6d 61 | 72 6b 2c 20 6f 66 20 41 |.tradema|rk, of A|
|00000560| 64 6f 62 65 20 53 79 73 | 74 65 6d 73 20 0d 49 6e |dobe Sys|tems .In|
|00000570| 63 6f 72 70 6f 72 61 74 | 65 64 2e 0d 53 6f 6e 79 |corporat|ed..Sony|
|00000580| 20 69 73 20 61 20 72 65 | 67 69 73 74 65 72 65 64 | is a re|gistered|
|00000590| 20 74 72 61 64 65 6d 61 | 72 6b 20 6f 66 20 53 6f | tradema|rk of So|
|000005a0| 6e 79 20 43 6f 72 70 6f | 72 61 74 69 6f 6e 2e 0d |ny Corpo|ration..|
|000005b0| 55 4e 49 58 20 69 73 20 | 61 20 72 65 67 69 73 74 |UNIX is |a regist|
|000005c0| 65 72 65 64 20 74 72 61 | 64 65 6d 61 72 6b 20 6f |ered tra|demark o|
|000005d0| 66 20 55 4e 49 58 20 53 | 79 73 74 65 6d 20 4c 61 |f UNIX S|ystem La|
|000005e0| 62 6f 72 61 74 6f 72 69 | 65 73 2c 20 49 6e 63 2e |boratori|es, Inc.|
|000005f0| 0d 53 69 6d 75 6c 74 61 | 6e 65 6f 75 73 6c 79 20 |.Simulta|neously |
|00000600| 70 75 62 6c 69 73 68 65 | 64 20 69 6e 20 74 68 65 |publishe|d in the|
|00000610| 20 55 6e 69 74 65 64 20 | 53 74 61 74 65 73 20 61 | United |States a|
|00000620| 6e 64 20 43 61 6e 61 64 | 61 2e 0d 4c 69 6d 69 74 |nd Canad|a..Limit|
|00000630| 65 64 20 57 61 72 72 61 | 6e 74 79 20 6f 6e 20 4d |ed Warra|nty on M|
|00000640| 65 64 69 61 20 61 6e 64 | 20 52 65 70 6c 61 63 65 |edia and| Replace|
|00000650| 6d 65 6e 74 0d 45 76 65 | 6e 20 74 68 6f 75 67 68 |ment.Eve|n though|
|00000660| 20 41 70 70 6c 65 20 68 | 61 73 20 0d 72 65 76 69 | Apple h|as .revi|
|00000670| 65 77 65 64 20 74 68 69 | 73 20 6d 61 6e 75 61 6c |ewed thi|s manual|
|00000680| 2c 20 41 50 50 4c 45 20 | 4d 41 4b 45 53 20 4e 4f |, APPLE |MAKES NO|
|00000690| 20 57 41 52 52 41 4e 54 | 59 20 4f 52 20 52 45 50 | WARRANT|Y OR REP|
|000006a0| 52 45 53 45 4e 54 41 54 | 49 4f 4e 2c 20 45 49 54 |RESENTAT|ION, EIT|
|000006b0| 48 45 52 20 45 58 50 52 | 45 53 53 20 4f 52 20 49 |HER EXPR|ESS OR I|
|000006c0| 4d 50 4c 49 45 44 2c 20 | 57 49 54 48 20 52 45 53 |MPLIED, |WITH RES|
|000006d0| 50 45 43 54 20 54 4f 20 | 54 48 49 53 20 4d 41 4e |PECT TO |THIS MAN|
|000006e0| 55 41 4c 2c 20 49 54 53 | 20 51 55 41 4c 49 54 59 |UAL, ITS| QUALITY|
|000006f0| 2c 20 41 43 43 55 52 41 | 43 59 2c 20 4d 45 52 43 |, ACCURA|CY, MERC|
|00000700| 48 41 4e 54 2d 41 42 49 | 4c 49 54 59 2c 20 4f 52 |HANT-ABI|LITY, OR|
|00000710| 20 46 49 54 4e 45 53 53 | 20 46 4f 52 20 41 20 50 | FITNESS| FOR A P|
|00000720| 41 52 54 49 43 55 4c 41 | 52 20 50 55 52 50 4f 53 |ARTICULA|R PURPOS|
|00000730| 45 2e 20 41 53 20 41 20 | 52 45 53 55 4c 54 2c 20 |E. AS A |RESULT, |
|00000740| 54 48 49 53 20 0d 4d 41 | 4e 55 41 4c 20 49 53 20 |THIS .MA|NUAL IS |
|00000750| 53 4f 4c 44 20 d2 41 53 | 20 0d 49 53 2c d3 20 41 |SOLD .AS| .IS,. A|
|00000760| 4e 44 20 59 4f 55 2c 20 | 54 48 45 20 50 55 52 2d |ND YOU, |THE PUR-|
|00000770| 43 48 41 53 45 52 2c 20 | 41 52 45 20 41 53 53 55 |CHASER, |ARE ASSU|
|00000780| 4d 49 4e 47 20 54 48 45 | 20 45 4e 54 49 52 45 20 |MING THE| ENTIRE |
|00000790| 52 49 53 4b 20 41 53 20 | 54 4f 20 49 54 53 20 51 |RISK AS |TO ITS Q|
|000007a0| 55 41 4c 49 54 59 20 41 | 4e 44 20 0d 41 43 43 55 |UALITY A|ND .ACCU|
|000007b0| 52 41 43 59 2e 20 20 0d | 49 4e 20 4e 4f 20 45 56 |RACY. .|IN NO EV|
|000007c0| 45 4e 54 20 57 49 4c 4c | 20 41 50 50 4c 45 20 42 |ENT WILL| APPLE B|
|000007d0| 45 20 4c 49 41 42 4c 45 | 20 46 4f 52 20 44 49 52 |E LIABLE| FOR DIR|
|000007e0| 45 43 54 2c 20 0d 49 4e | 44 49 52 45 43 54 2c 20 |ECT, .IN|DIRECT, |
|000007f0| 53 50 45 43 49 41 4c 2c | 20 0d 49 4e 43 49 44 45 |SPECIAL,| .INCIDE|
|00000800| 4e 54 41 4c 2c 20 4f 52 | 20 43 4f 4e 53 45 2d 51 |NTAL, OR| CONSE-Q|
|00000810| 55 45 4e 54 49 41 4c 20 | 44 41 4d 41 47 45 53 20 |UENTIAL |DAMAGES |
|00000820| 0d 52 45 53 55 4c 54 49 | 4e 47 20 46 52 4f 4d 20 |.RESULTI|NG FROM |
|00000830| 41 4e 59 20 0d 44 45 46 | 45 43 54 20 4f 52 20 49 |ANY .DEF|ECT OR I|
|00000840| 4e 41 43 43 55 52 41 43 | 59 20 49 4e 20 54 48 49 |NACCURAC|Y IN THI|
|00000850| 53 20 4d 41 4e 55 41 4c | 2c 20 65 76 65 6e 20 69 |S MANUAL|, even i|
|00000860| 66 20 61 64 76 69 73 65 | 64 20 6f 66 20 74 68 65 |f advise|d of the|
|00000870| 20 70 6f 73 73 69 62 69 | 6c 69 74 79 20 6f 66 20 | possibi|lity of |
|00000880| 73 75 63 68 20 64 61 6d | 61 67 65 73 2e 20 20 0d |such dam|ages. .|
|00000890| 54 48 45 20 57 41 52 52 | 41 4e 54 59 20 41 4e 44 |THE WARR|ANTY AND|
|000008a0| 20 52 45 4d 45 44 49 45 | 53 20 53 45 54 20 46 4f | REMEDIE|S SET FO|
|000008b0| 52 54 48 20 41 42 4f 56 | 45 20 41 52 45 20 45 58 |RTH ABOV|E ARE EX|
|000008c0| 43 4c 55 53 49 56 45 20 | 41 4e 44 20 49 4e 20 4c |CLUSIVE |AND IN L|
|000008d0| 49 45 55 20 4f 46 20 41 | 4c 4c 20 0d 4f 54 48 45 |IEU OF A|LL .OTHE|
|000008e0| 52 53 2c 20 4f 52 41 4c | 20 4f 52 20 0d 57 52 49 |RS, ORAL| OR .WRI|
|000008f0| 54 54 45 4e 2c 20 45 58 | 50 52 45 53 53 20 4f 52 |TTEN, EX|PRESS OR|
|00000900| 20 0d 49 4d 50 4c 49 45 | 44 2e 20 4e 6f 20 41 70 | .IMPLIE|D. No Ap|
|00000910| 70 6c 65 20 64 65 61 6c | 65 72 2c 20 61 67 65 6e |ple deal|er, agen|
|00000920| 74 2c 20 6f 72 20 65 6d | 70 6c 6f 79 65 65 20 69 |t, or em|ployee i|
|00000930| 73 20 0d 61 75 74 68 6f | 72 69 7a 65 64 20 74 6f |s .autho|rized to|
|00000940| 20 6d 61 6b 65 20 61 6e | 79 20 0d 6d 6f 64 69 66 | make an|y .modif|
|00000950| 69 63 61 74 69 6f 6e 2c | 20 65 78 74 65 6e 73 69 |ication,| extensi|
|00000960| 6f 6e 2c 20 6f 72 20 0d | 61 64 64 69 74 69 6f 6e |on, or .|addition|
|00000970| 20 74 6f 20 74 68 69 73 | 20 77 61 72 72 61 6e 74 | to this| warrant|
|00000980| 79 2e 20 20 0d 53 6f 6d | 65 20 73 74 61 74 65 73 |y. .Som|e states|
|00000990| 20 64 6f 20 6e 6f 74 20 | 61 6c 6c 6f 77 20 74 68 | do not |allow th|
|000009a0| 65 20 65 78 63 6c 75 73 | 69 6f 6e 20 6f 72 20 6c |e exclus|ion or l|
|000009b0| 69 6d 69 74 61 74 69 6f | 6e 20 6f 66 20 0d 69 6d |imitatio|n of .im|
|000009c0| 70 6c 69 65 64 20 77 61 | 72 72 61 6e 74 69 65 73 |plied wa|rranties|
|000009d0| 20 6f 72 20 6c 69 61 62 | 69 6c 69 74 79 20 66 6f | or liab|ility fo|
|000009e0| 72 20 69 6e 63 69 64 65 | 6e 74 61 6c 20 6f 72 20 |r incide|ntal or |
|000009f0| 63 6f 6e 73 65 71 75 65 | 6e 74 69 61 6c 20 64 61 |conseque|ntial da|
|00000a00| 6d 61 67 65 73 2c 20 73 | 6f 20 74 68 65 20 61 62 |mages, s|o the ab|
|00000a10| 6f 76 65 20 0d 6c 69 6d | 69 74 61 74 69 6f 6e 20 |ove .lim|itation |
|00000a20| 6f 72 20 65 78 63 6c 75 | 73 69 6f 6e 20 6d 61 79 |or exclu|sion may|
|00000a30| 20 6e 6f 74 20 61 70 70 | 6c 79 20 74 6f 20 79 6f | not app|ly to yo|
|00000a40| 75 2e 20 54 68 69 73 20 | 77 61 72 72 61 6e 74 79 |u. This |warranty|
|00000a50| 20 67 69 76 65 73 20 79 | 6f 75 20 73 70 65 63 69 | gives y|ou speci|
|00000a60| 66 69 63 20 6c 65 67 61 | 6c 20 72 69 67 68 74 73 |fic lega|l rights|
|00000a70| 2c 20 61 6e 64 20 79 6f | 75 20 6d 61 79 20 61 6c |, and yo|u may al|
|00000a80| 73 6f 20 68 61 76 65 20 | 6f 74 68 65 72 20 72 69 |so have |other ri|
|00000a90| 67 68 74 73 20 77 68 69 | 63 68 20 76 61 72 79 20 |ghts whi|ch vary |
|00000aa0| 66 72 6f 6d 20 73 74 61 | 74 65 20 74 6f 20 73 74 |from sta|te to st|
|00000ab0| 61 74 65 2e 0d 49 6e 74 | 72 6f 64 75 63 74 69 6f |ate..Int|roductio|
|00000ac0| 6e 20 74 6f 20 46 69 6c | 65 20 4d 61 6e 61 67 65 |n to Fil|e Manage|
|00000ad0| 6d 65 6e 74 0d 41 62 6f | 75 74 20 46 69 6c 65 73 |ment.Abo|ut Files|
|00000ae0| 14 14 31 2d 31 0d 46 69 | 6c 65 20 46 6f 72 6b 73 |..1-1.Fi|le Forks|
|00000af0| 14 14 31 2d 32 0d 46 69 | 6c 65 20 53 69 7a 65 14 |..1-2.Fi|le Size.|
|00000b00| 14 31 2d 34 0d 46 69 6c | 65 20 41 63 63 65 73 73 |.1-4.Fil|e Access|
|00000b10| 20 43 68 61 72 61 63 74 | 65 72 69 73 74 69 63 73 | Charact|eristics|
|00000b20| 14 14 31 2d 36 0d 54 68 | 65 20 48 69 65 72 61 72 |..1-6.Th|e Hierar|
|00000b30| 63 68 69 63 61 6c 20 46 | 69 6c 65 20 53 79 73 74 |chical F|ile Syst|
|00000b40| 65 6d 14 14 31 2d 37 0d | 49 64 65 6e 74 69 66 79 |em..1-7.|Identify|
|00000b50| 69 6e 67 20 46 69 6c 65 | 73 20 61 6e 64 20 44 69 |ing File|s and Di|
|00000b60| 72 65 63 74 6f 72 69 65 | 73 14 14 31 2d 39 0d 55 |rectorie|s..1-9.U|
|00000b70| 73 69 6e 67 20 46 69 6c | 65 73 14 14 31 2d 31 30 |sing Fil|es..1-10|
|00000b80| 0d 54 65 73 74 69 6e 67 | 20 66 6f 72 20 46 69 6c |.Testing| for Fil|
|00000b90| 65 20 4d 61 6e 61 67 65 | 6d 65 6e 74 20 52 6f 75 |e Manage|ment Rou|
|00000ba0| 74 69 6e 65 73 14 14 31 | 2d 31 31 0d 44 65 66 69 |tines..1|-11.Defi|
|00000bb0| 6e 69 6e 67 20 61 20 44 | 6f 63 75 6d 65 6e 74 20 |ning a D|ocument |
|00000bc0| 52 65 63 6f 72 64 14 14 | 31 2d 31 33 0d 43 72 65 |Record..|1-13.Cre|
|00000bd0| 61 74 69 6e 67 20 61 20 | 4e 65 77 20 46 69 6c 65 |ating a |New File|
|00000be0| 14 14 31 2d 31 34 0d 4f | 70 65 6e 69 6e 67 20 61 |..1-14.O|pening a|
|00000bf0| 20 46 69 6c 65 14 14 31 | 2d 31 35 0d 52 65 61 64 | File..1|-15.Read|
|00000c00| 69 6e 67 20 46 69 6c 65 | 20 44 61 74 61 14 14 31 |ing File| Data..1|
|00000c10| 2d 31 39 0d 57 72 69 74 | 69 6e 67 20 46 69 6c 65 |-19.Writ|ing File|
|00000c20| 20 44 61 74 61 14 14 31 | 2d 32 31 0d 53 61 76 69 | Data..1|-21.Savi|
|00000c30| 6e 67 20 61 20 46 69 6c | 65 14 14 31 2d 32 34 0d |ng a Fil|e..1-24.|
|00000c40| 52 65 76 65 72 74 69 6e | 67 20 74 6f 20 61 20 53 |Revertin|g to a S|
|00000c50| 61 76 65 64 20 46 69 6c | 65 14 14 31 2d 32 37 0d |aved Fil|e..1-27.|
|00000c60| 43 6c 6f 73 69 6e 67 20 | 61 20 46 69 6c 65 14 14 |Closing |a File..|
|00000c70| 31 2d 32 39 0d 4f 70 65 | 6e 69 6e 67 20 46 69 6c |1-29.Ope|ning Fil|
|00000c80| 65 73 20 61 74 20 41 70 | 70 6c 69 63 61 74 69 6f |es at Ap|plicatio|
|00000c90| 6e 20 53 74 61 72 74 75 | 70 20 54 69 6d 65 14 14 |n Startu|p Time..|
|00000ca0| 31 2d 33 31 0d 55 73 69 | 6e 67 20 61 20 50 72 65 |1-31.Usi|ng a Pre|
|00000cb0| 66 65 72 65 6e 63 65 73 | 20 46 69 6c 65 14 14 31 |ferences| File..1|
|00000cc0| 2d 33 33 0d 41 64 6a 75 | 73 74 69 6e 67 20 74 68 |-33.Adju|sting th|
|00000cd0| 65 20 46 69 6c 65 20 4d | 65 6e 75 14 14 31 2d 33 |e File M|enu..1-3|
|00000ce0| 35 0d 52 65 66 65 72 65 | 6e 63 65 20 74 6f 20 46 |5.Refere|nce to F|
|00000cf0| 69 6c 65 20 4d 61 6e 61 | 67 65 6d 65 6e 74 14 14 |ile Mana|gement..|
|00000d00| 31 2d 33 36 0d 44 61 74 | 61 20 53 74 72 75 63 74 |1-36.Dat|a Struct|
|00000d10| 75 72 65 73 14 14 31 2d | 33 36 0d 46 69 6c 65 20 |ures..1-|36.File |
|00000d20| 53 79 73 74 65 6d 20 53 | 70 65 63 69 66 69 63 61 |System S|pecifica|
|00000d30| 74 69 6f 6e 20 52 65 63 | 6f 72 64 14 14 31 2d 33 |tion Rec|ord..1-3|
|00000d40| 36 0d 53 74 61 6e 64 61 | 72 64 20 46 69 6c 65 20 |6.Standa|rd File |
|00000d50| 52 65 70 6c 79 20 52 65 | 63 6f 72 64 73 14 14 31 |Reply Re|cords..1|
|00000d60| 2d 33 37 0d 41 70 70 6c | 69 63 61 74 69 6f 6e 20 |-37.Appl|ication |
|00000d70| 46 69 6c 65 73 20 52 65 | 63 6f 72 64 73 14 14 31 |Files Re|cords..1|
|00000d80| 2d 33 38 0d 46 69 6c 65 | 20 49 64 65 6e 74 69 66 |-38.File| Identif|
|00000d90| 69 63 61 74 69 6f 6e 20 | 52 6f 75 74 69 6e 65 73 |ication |Routines|
|00000da0| 14 14 31 2d 33 39 0d 46 | 69 6c 65 20 41 63 63 65 |..1-39.F|ile Acce|
|00000db0| 73 73 20 52 6f 75 74 69 | 6e 65 73 14 14 31 2d 34 |ss Routi|nes..1-4|
|00000dc0| 30 0d 52 65 61 64 69 6e | 67 2c 20 57 72 69 74 69 |0.Readin|g, Writi|
|00000dd0| 6e 67 2c 20 61 6e 64 20 | 43 6c 6f 73 69 6e 67 20 |ng, and |Closing |
|00000de0| 46 69 6c 65 73 14 14 31 | 2d 34 30 0d 4d 61 6e 69 |Files..1|-40.Mani|
|00000df0| 70 75 6c 61 74 69 6e 67 | 20 74 68 65 20 46 69 6c |pulating| the Fil|
|00000e00| 65 20 4d 61 72 6b 14 14 | 31 2d 34 32 0d 4d 61 6e |e Mark..|1-42.Man|
|00000e10| 69 70 75 6c 61 74 69 6e | 67 20 74 68 65 20 45 6e |ipulatin|g the En|
|00000e20| 64 2d 6f 66 2d 46 69 6c | 65 14 14 31 2d 34 34 0d |d-of-Fil|e..1-44.|
|00000e30| 46 53 53 70 65 63 20 52 | 6f 75 74 69 6e 65 73 14 |FSSpec R|outines.|
|00000e40| 14 31 2d 34 35 0d 4f 70 | 65 6e 69 6e 67 2c 20 43 |.1-45.Op|ening, C|
|00000e50| 72 65 61 74 69 6e 67 2c | 20 61 6e 64 20 44 65 6c |reating,| and Del|
|00000e60| 65 74 69 6e 67 20 46 69 | 6c 65 73 14 14 31 2d 34 |eting Fi|les..1-4|
|00000e70| 36 0d 45 78 63 68 61 6e | 67 69 6e 67 20 74 68 65 |6.Exchan|ging the|
|00000e80| 20 44 61 74 61 20 69 6e | 20 54 77 6f 20 46 69 6c | Data in| Two Fil|
|00000e90| 65 73 14 14 31 2d 34 39 | 0d 43 72 65 61 74 69 6e |es..1-49|.Creatin|
|00000ea0| 67 20 46 69 6c 65 20 53 | 79 73 74 65 6d 20 53 70 |g File S|ystem Sp|
|00000eb0| 65 63 69 66 69 63 61 74 | 69 6f 6e 73 14 14 31 2d |ecificat|ions..1-|
|00000ec0| 35 30 0d 56 6f 6c 75 6d | 65 20 41 63 63 65 73 73 |50.Volum|e Access|
|00000ed0| 20 52 6f 75 74 69 6e 65 | 73 14 14 31 2d 35 31 0d | Routine|s..1-51.|
|00000ee0| 55 70 64 61 74 69 6e 67 | 20 56 6f 6c 75 6d 65 73 |Updating| Volumes|
|00000ef0| 14 14 31 2d 35 31 0d 4f | 62 74 61 69 6e 69 6e 67 |..1-51.O|btaining|
|00000f00| 20 61 20 56 6f 6c 75 6d | 65 20 52 65 66 65 72 65 | a Volum|e Refere|
|00000f10| 6e 63 65 20 4e 75 6d 62 | 65 72 14 14 31 2d 35 32 |nce Numb|er..1-52|
|00000f20| 0d 41 70 70 6c 69 63 61 | 74 69 6f 6e 20 4c 61 75 |.Applica|tion Lau|
|00000f30| 6e 63 68 20 46 69 6c 65 | 20 52 6f 75 74 69 6e 65 |nch File| Routine|
|00000f40| 73 14 14 31 2d 35 33 0d | 53 75 6d 6d 61 72 79 20 |s..1-53.|Summary |
|00000f50| 6f 66 20 46 69 6c 65 20 | 4d 61 6e 61 67 65 6d 65 |of File |Manageme|
|00000f60| 6e 74 14 14 31 2d 35 36 | 0d 31 49 6e 74 72 6f 64 |nt..1-56|.1Introd|
|00000f70| 75 63 74 69 6f 6e 20 74 | 6f 20 46 69 6c 65 20 4d |uction t|o File M|
|00000f80| 61 6e 61 67 65 6d 65 6e | 74 0d 54 68 69 73 20 63 |anagemen|t.This c|
|00000f90| 68 61 70 74 65 72 20 69 | 6e 74 72 6f 64 75 63 65 |hapter i|ntroduce|
|00000fa0| 73 20 74 68 65 20 64 61 | 74 61 20 73 74 72 75 63 |s the da|ta struc|
|00000fb0| 74 75 72 65 73 20 61 6e | 64 20 72 6f 75 74 69 6e |tures an|d routin|
|00000fc0| 65 73 20 79 6f 75 72 20 | 61 70 70 6c 69 63 61 74 |es your |applicat|
|00000fd0| 69 6f 6e 20 63 61 6e 20 | 75 73 65 20 74 6f 20 6d |ion can |use to m|
|00000fe0| 61 6e 61 67 65 20 66 69 | 6c 65 73 20 6f 6e 20 4d |anage fi|les on M|
|00000ff0| 61 63 69 6e 74 6f 73 68 | 20 63 6f 6d 70 75 74 65 |acintosh| compute|
|00001000| 72 73 2e 20 49 74 20 65 | 78 70 6c 61 69 6e 73 20 |rs. It e|xplains |
|00001010| 74 68 65 20 62 61 73 69 | 63 20 73 74 72 75 63 74 |the basi|c struct|
|00001020| 75 72 65 20 6f 66 20 4d | 61 63 69 6e 74 6f 73 68 |ure of M|acintosh|
|00001030| 20 66 69 6c 65 73 20 61 | 6e 64 20 74 68 65 20 68 | files a|nd the h|
|00001040| 69 65 72 61 72 63 68 69 | 63 61 6c 20 66 69 6c 65 |ierarchi|cal file|
|00001050| 20 73 79 73 74 65 6d 20 | 28 48 46 53 29 20 75 73 | system |(HFS) us|
|00001060| 65 64 20 77 69 74 68 20 | 4d 61 63 69 6e 74 6f 73 |ed with |Macintos|
|00001070| 68 20 63 6f 6d 70 75 74 | 65 72 73 2c 20 61 6e 64 |h comput|ers, and|
|00001080| 20 69 74 20 73 68 6f 77 | 73 20 68 6f 77 20 79 6f | it show|s how yo|
|00001090| 75 20 63 61 6e 20 75 73 | 65 20 74 68 65 20 73 65 |u can us|e the se|
|000010a0| 72 76 69 63 65 73 20 70 | 72 6f 76 69 64 65 64 20 |rvices p|rovided |
|000010b0| 62 79 20 74 68 65 20 53 | 74 61 6e 64 61 72 64 20 |by the S|tandard |
|000010c0| 46 69 6c 65 20 50 61 63 | 6b 61 67 65 2c 20 74 68 |File Pac|kage, th|
|000010d0| 65 20 46 69 6c 65 20 4d | 61 6e 61 67 65 72 2c 20 |e File M|anager, |
|000010e0| 74 68 65 20 46 69 6e 64 | 65 72 2c 20 61 6e 64 20 |the Find|er, and |
|000010f0| 6f 74 68 65 72 20 73 79 | 73 74 65 6d 20 73 6f 66 |other sy|stem sof|
|00001100| 74 77 61 72 65 20 63 6f | 6d 70 6f 6e 65 6e 74 73 |tware co|mponents|
|00001110| 20 74 6f 20 63 72 65 61 | 74 65 2c 20 6f 70 65 6e | to crea|te, open|
|00001120| 2c 20 75 70 64 61 74 65 | 2c 20 61 6e 64 20 63 6c |, update|, and cl|
|00001130| 6f 73 65 20 66 69 6c 65 | 73 2e 0d 59 6f 75 20 73 |ose file|s..You s|
|00001140| 68 6f 75 6c 64 20 72 65 | 61 64 20 74 68 69 73 20 |hould re|ad this |
|00001150| 63 68 61 70 74 65 72 20 | 69 66 20 79 6f 75 72 20 |chapter |if your |
|00001160| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 69 6d 70 6c |applicat|ion impl|
|00001170| 65 6d 65 6e 74 73 20 74 | 68 65 20 63 6f 6d 6d 61 |ements t|he comma|
|00001180| 6e 64 73 20 74 79 70 69 | 63 61 6c 6c 79 20 66 6f |nds typi|cally fo|
|00001190| 75 6e 64 20 69 6e 20 61 | 6e 20 61 70 70 6c 69 63 |und in a|n applic|
|000011a0| 61 74 69 6f 6e d5 73 20 | 46 69 6c 65 20 6d 65 6e |ation.s |File men|
|000011b0| 75 d1 65 78 63 65 70 74 | 20 66 6f 72 20 70 72 69 |u.except| for pri|
|000011c0| 6e 74 69 6e 67 20 63 6f | 6d 6d 61 6e 64 73 20 61 |nting co|mmands a|
|000011d0| 6e 64 20 74 68 65 20 51 | 75 69 74 20 63 6f 6d 6d |nd the Q|uit comm|
|000011e0| 61 6e 64 2c 20 77 68 69 | 63 68 20 61 72 65 20 64 |and, whi|ch are d|
|000011f0| 65 73 63 72 69 62 65 64 | 20 65 6c 73 65 77 68 65 |escribed| elsewhe|
|00001200| 72 65 2e 20 54 68 69 73 | 20 63 68 61 70 74 65 72 |re. This| chapter|
|00001210| 20 64 65 73 63 72 69 62 | 65 73 20 68 6f 77 20 74 | describ|es how t|
|00001220| 6f 0d 6e 09 63 72 65 61 | 74 65 20 61 20 6e 65 77 |o.n.crea|te a new|
|00001230| 20 66 69 6c 65 0d 6e 09 | 6f 70 65 6e 20 61 6e 20 | file.n.|open an |
|00001240| 65 78 69 73 74 69 6e 67 | 20 66 69 6c 65 0d 6e 09 |existing| file.n.|
|00001250| 63 6c 6f 73 65 20 61 20 | 66 69 6c 65 0d 6e 09 73 |close a |file.n.s|
|00001260| 61 76 65 20 61 20 64 6f | 63 75 6d 65 6e 74 d5 73 |ave a do|cument.s|
|00001270| 20 64 61 74 61 20 69 6e | 20 61 20 66 69 6c 65 0d | data in| a file.|
|00001280| 6e 09 73 61 76 65 20 61 | 20 64 6f 63 75 6d 65 6e |n.save a| documen|
|00001290| 74 d5 73 20 64 61 74 61 | 20 69 6e 20 61 20 66 69 |t.s data| in a fi|
|000012a0| 6c 65 20 75 6e 64 65 72 | 20 61 20 6e 65 77 20 6e |le under| a new n|
|000012b0| 61 6d 65 0d 6e 09 72 65 | 76 65 72 74 20 74 6f 20 |ame.n.re|vert to |
|000012c0| 74 68 65 20 6c 61 73 74 | 20 73 61 76 65 64 20 76 |the last| saved v|
|000012d0| 65 72 73 69 6f 6e 20 6f | 66 20 61 20 66 69 6c 65 |ersion o|f a file|
|000012e0| 0d 6e 09 63 72 65 61 74 | 65 20 61 6e 64 20 72 65 |.n.creat|e and re|
|000012f0| 61 64 20 61 20 70 72 65 | 66 65 72 65 6e 63 65 73 |ad a pre|ferences|
|00001300| 20 66 69 6c 65 0d 44 65 | 70 65 6e 64 69 6e 67 20 | file.De|pending |
|00001310| 6f 6e 20 74 68 65 20 72 | 65 71 75 69 72 65 6d 65 |on the r|equireme|
|00001320| 6e 74 73 20 6f 66 20 79 | 6f 75 72 20 61 70 70 6c |nts of y|our appl|
|00001330| 69 63 61 74 69 6f 6e 2c | 20 79 6f 75 20 6d 61 79 |ication,| you may|
|00001340| 20 62 65 20 61 62 6c 65 | 20 74 6f 20 61 63 63 6f | be able| to acco|
|00001350| 6d 70 6c 69 73 68 20 61 | 6c 6c 20 79 6f 75 72 20 |mplish a|ll your |
|00001360| 66 69 6c 65 2d 72 65 6c | 61 74 65 64 20 61 63 74 |file-rel|ated act|
|00001370| 69 76 69 74 69 65 73 20 | 62 79 20 66 6f 6c 6c 6f |ivities |by follo|
|00001380| 77 69 6e 67 20 74 68 65 | 20 69 6e 73 74 72 75 63 |wing the| instruc|
|00001390| 74 69 6f 6e 73 20 67 69 | 76 65 6e 20 69 6e 20 74 |tions gi|ven in t|
|000013a0| 68 69 73 20 63 68 61 70 | 74 65 72 2e 20 49 66 20 |his chap|ter. If |
|000013b0| 79 6f 75 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |your app|lication|
|000013c0| 20 68 61 73 20 6d 6f 72 | 65 20 73 70 65 63 69 61 | has mor|e specia|
|000013d0| 6c 69 7a 65 64 20 66 69 | 6c 65 20 6d 61 6e 61 67 |lized fi|le manag|
|000013e0| 65 6d 65 6e 74 20 6e 65 | 65 64 73 2c 20 79 6f 75 |ement ne|eds, you|
|000013f0| 20 77 69 6c 6c 20 6e 65 | 65 64 20 74 6f 20 72 65 | will ne|ed to re|
|00001400| 61 64 20 73 6f 6d 65 20 | 6f 72 20 61 6c 6c 20 6f |ad some |or all o|
|00001410| 66 20 74 68 65 20 72 65 | 6d 61 69 6e 69 6e 67 20 |f the re|maining |
|00001420| 63 68 61 70 74 65 72 73 | 20 69 6e 20 74 68 65 20 |chapters| in the |
|00001430| 46 69 6c 65 73 20 73 65 | 63 74 69 6f 6e 20 6f 66 |Files se|ction of|
|00001440| 20 74 68 69 73 20 76 6f | 6c 75 6d 65 2e 0d 54 68 | this vo|lume..Th|
|00001450| 69 73 20 63 68 61 70 74 | 65 72 20 61 73 73 75 6d |is chapt|er assum|
|00001460| 65 73 20 74 68 61 74 20 | 79 6f 75 72 20 61 70 70 |es that |your app|
|00001470| 6c 69 63 61 74 69 6f 6e | 20 69 73 20 72 75 6e 6e |lication| is runn|
|00001480| 69 6e 67 20 69 6e 20 61 | 6e 20 65 6e 76 69 72 6f |ing in a|n enviro|
|00001490| 6e 6d 65 6e 74 20 69 6e | 20 77 68 69 63 68 20 74 |nment in| which t|
|000014a0| 68 65 20 72 6f 75 74 69 | 6e 65 73 20 74 68 61 74 |he routi|nes that|
|000014b0| 20 61 63 63 65 70 74 20 | 66 69 6c 65 20 73 79 73 | accept |file sys|
|000014c0| 74 65 6d 20 73 70 65 63 | 69 66 69 63 61 74 69 6f |tem spec|ificatio|
|000014d0| 6e 20 72 65 63 6f 72 64 | 73 20 28 46 53 53 70 65 |n record|s (FSSpe|
|000014e0| 63 20 72 65 63 6f 72 64 | 73 29 20 61 72 65 20 61 |c record|s) are a|
|000014f0| 76 61 69 6c 61 62 6c 65 | 2e 20 46 69 6c 65 20 73 |vailable|. File s|
|00001500| 79 73 74 65 6d 20 73 70 | 65 63 69 66 69 63 61 74 |ystem sp|ecificat|
|00001510| 69 6f 6e 20 72 65 63 6f | 72 64 73 2c 20 69 6e 74 |ion reco|rds, int|
|00001520| 72 6f 64 75 63 65 64 20 | 69 6e 20 73 79 73 74 65 |roduced |in syste|
|00001530| 6d 20 73 6f 66 74 77 61 | 72 65 20 76 65 72 73 69 |m softwa|re versi|
|00001540| 6f 6e 20 37 2e 30 2c 20 | 73 69 6d 70 6c 69 66 79 |on 7.0, |simplify|
|00001550| 20 74 68 65 20 69 64 65 | 6e 74 69 66 69 63 61 74 | the ide|ntificat|
|00001560| 69 6f 6e 20 6f 66 20 6f | 62 6a 65 63 74 73 20 69 |ion of o|bjects i|
|00001570| 6e 20 74 68 65 20 66 69 | 6c 65 20 73 79 73 74 65 |n the fi|le syste|
|00001580| 6d 2e 20 59 6f 75 72 20 | 64 65 76 65 6c 6f 70 6d |m. Your |developm|
|00001590| 65 6e 74 20 65 6e 76 69 | 72 6f 6e 6d 65 6e 74 20 |ent envi|ronment |
|000015a0| 6d 61 79 20 70 72 6f 76 | 69 64 65 20 d2 67 6c 75 |may prov|ide .glu|
|000015b0| 65 d3 20 74 68 61 74 20 | 61 6c 6c 6f 77 73 20 79 |e. that |allows y|
|000015c0| 6f 75 20 74 6f 20 63 61 | 6c 6c 20 74 68 6f 73 65 |ou to ca|ll those|
|000015d0| 20 72 6f 75 74 69 6e 65 | 73 20 69 6e 20 65 61 72 | routine|s in ear|
|000015e0| 6c 69 65 72 20 73 79 73 | 74 65 6d 20 73 6f 66 74 |lier sys|tem soft|
|000015f0| 77 61 72 65 20 76 65 72 | 73 69 6f 6e 73 2e 20 49 |ware ver|sions. I|
|00001600| 66 20 73 75 63 68 20 67 | 6c 75 65 20 69 73 20 6e |f such g|lue is n|
|00001610| 6f 74 20 61 76 61 69 6c | 61 62 6c 65 20 61 6e 64 |ot avail|able and|
|00001620| 20 79 6f 75 20 77 61 6e | 74 20 79 6f 75 72 20 61 | you wan|t your a|
|00001630| 70 70 6c 69 63 61 74 69 | 6f 6e 20 74 6f 20 72 75 |pplicati|on to ru|
|00001640| 6e 20 69 6e 20 73 79 73 | 74 65 6d 20 73 6f 66 74 |n in sys|tem soft|
|00001650| 77 61 72 65 20 76 65 72 | 73 69 6f 6e 73 20 65 61 |ware ver|sions ea|
|00001660| 72 6c 69 65 72 20 74 68 | 61 6e 20 76 65 72 73 69 |rlier th|an versi|
|00001670| 6f 6e 20 37 2e 30 2c 20 | 79 6f 75 20 6e 65 65 64 |on 7.0, |you need|
|00001680| 20 74 6f 20 72 65 61 64 | 20 74 68 65 20 64 69 73 | to read| the dis|
|00001690| 63 75 73 73 69 6f 6e 20 | 6f 66 20 48 46 53 20 66 |cussion |of HFS f|
|000016a0| 69 6c 65 2d 6d 61 6e 69 | 70 75 6c 61 74 69 6f 6e |ile-mani|pulation|
|000016b0| 20 72 6f 75 74 69 6e 65 | 73 20 69 6e 20 74 68 65 | routine|s in the|
|000016c0| 20 63 68 61 70 74 65 72 | 20 d2 54 68 65 20 46 69 | chapter| .The Fi|
|000016d0| 6c 65 20 4d 61 6e 61 67 | 65 72 d3 20 69 6e 20 74 |le Manag|er. in t|
|000016e0| 68 69 73 20 76 6f 6c 75 | 6d 65 2e 0d 54 68 69 73 |his volu|me..This|
|000016f0| 20 63 68 61 70 74 65 72 | 20 62 65 67 69 6e 73 20 | chapter| begins |
|00001700| 77 69 74 68 20 61 20 64 | 65 73 63 72 69 70 74 69 |with a d|escripti|
|00001710| 6f 6e 20 6f 66 20 66 69 | 6c 65 73 20 61 6e 64 20 |on of fi|les and |
|00001720| 68 6f 77 20 74 68 65 79 | 20 61 72 65 20 6f 72 67 |how they| are org|
|00001730| 61 6e 69 7a 65 64 20 69 | 6e 74 6f 20 66 6f 6c 64 |anized i|nto fold|
|00001740| 65 72 73 20 61 6e 64 20 | 76 6f 6c 75 6d 65 73 2e |ers and |volumes.|
|00001750| 20 54 68 65 6e 20 69 74 | 20 64 65 73 63 72 69 62 | Then it| describ|
|00001760| 65 73 20 68 6f 77 20 74 | 6f 20 74 65 73 74 20 66 |es how t|o test f|
|00001770| 6f 72 20 74 68 65 20 70 | 72 65 73 65 6e 63 65 20 |or the p|resence |
|00001780| 6f 66 20 74 68 65 20 46 | 53 53 70 65 63 20 72 6f |of the F|SSpec ro|
|00001790| 75 74 69 6e 65 73 20 61 | 6e 64 20 68 6f 77 20 74 |utines a|nd how t|
|000017a0| 6f 20 75 73 65 20 74 68 | 6f 73 65 20 72 6f 75 74 |o use th|ose rout|
|000017b0| 69 6e 65 73 20 74 6f 20 | 70 65 72 66 6f 72 6d 20 |ines to |perform |
|000017c0| 74 68 65 20 66 69 6c 65 | 20 6d 61 6e 61 67 65 6d |the file| managem|
|000017d0| 65 6e 74 20 74 61 73 6b | 73 20 6c 69 73 74 65 64 |ent task|s listed|
|000017e0| 20 61 62 6f 76 65 2e 20 | 54 68 65 20 63 68 61 70 | above. |The chap|
|000017f0| 74 65 72 20 65 6e 64 73 | 20 77 69 74 68 20 64 65 |ter ends| with de|
|00001800| 73 63 72 69 70 74 69 6f | 6e 73 20 6f 66 20 74 68 |scriptio|ns of th|
|00001810| 65 20 64 61 74 61 20 73 | 74 72 75 63 74 75 72 65 |e data s|tructure|
|00001820| 73 20 61 6e 64 20 72 6f | 75 74 69 6e 65 73 20 75 |s and ro|utines u|
|00001830| 73 65 64 20 74 6f 20 70 | 65 72 66 6f 72 6d 20 74 |sed to p|erform t|
|00001840| 68 65 73 65 20 74 61 73 | 6b 73 2e 20 54 68 65 20 |hese tas|ks. The |
|00001850| d2 52 65 66 65 72 65 6e | 63 65 d3 20 61 6e 64 20 |.Referen|ce. and |
|00001860| d2 53 75 6d 6d 61 72 79 | d3 20 73 65 63 74 69 6f |.Summary|. sectio|
|00001870| 6e 73 20 69 6e 20 74 68 | 69 73 20 63 68 61 70 74 |ns in th|is chapt|
|00001880| 65 72 20 61 72 65 20 73 | 75 62 73 65 74 73 20 6f |er are s|ubsets o|
|00001890| 66 20 74 68 65 20 65 71 | 75 69 76 61 6c 65 6e 74 |f the eq|uivalent|
|000018a0| 20 73 65 63 74 69 6f 6e | 73 20 66 6f 72 20 74 68 | section|s for th|
|000018b0| 65 20 72 65 6d 61 69 6e | 69 6e 67 20 63 68 61 70 |e remain|ing chap|
|000018c0| 74 65 72 73 20 69 6e 20 | 74 68 65 20 46 69 6c 65 |ters in |the File|
|000018d0| 73 20 73 65 63 74 69 6f | 6e 20 6f 66 20 74 68 69 |s sectio|n of thi|
|000018e0| 73 20 76 6f 6c 75 6d 65 | 2e 0d 41 62 6f 75 74 20 |s volume|..About |
|000018f0| 46 69 6c 65 73 0d 54 6f | 20 74 68 65 20 75 73 65 |Files.To| the use|
|00001900| 72 2c 20 61 20 66 69 6c | 65 20 69 73 20 73 69 6d |r, a fil|e is sim|
|00001910| 70 6c 79 20 73 6f 6d 65 | 20 64 61 74 61 20 73 74 |ply some| data st|
|00001920| 6f 72 65 64 20 6f 6e 20 | 61 20 64 69 73 6b 2e 20 |ored on |a disk. |
|00001930| 54 6f 20 79 6f 75 72 20 | 61 70 70 6c 69 63 61 74 |To your |applicat|
|00001940| 69 6f 6e 2c 20 61 20 66 | 69 6c 65 20 69 73 20 61 |ion, a f|ile is a|
|00001950| 20 6e 61 6d 65 64 2c 20 | 6f 72 64 65 72 65 64 20 | named, |ordered |
|00001960| 73 65 71 75 65 6e 63 65 | 20 6f 66 20 62 79 74 65 |sequence| of byte|
|00001970| 73 20 73 74 6f 72 65 64 | 20 6f 6e 20 61 20 4d 61 |s stored| on a Ma|
|00001980| 63 69 6e 74 6f 73 68 20 | 76 6f 6c 75 6d 65 2c 20 |cintosh |volume, |
|00001990| 64 69 76 69 64 65 64 20 | 69 6e 74 6f 20 74 77 6f |divided |into two|
|000019a0| 20 66 6f 72 6b 73 20 28 | 61 73 20 64 65 73 63 72 | forks (|as descr|
|000019b0| 69 62 65 64 20 69 6e 20 | 74 68 65 20 66 6f 6c 6c |ibed in |the foll|
|000019c0| 6f 77 69 6e 67 20 73 65 | 63 74 69 6f 6e 2c 20 d2 |owing se|ction, .|
|000019d0| 46 69 6c 65 20 46 6f 72 | 6b 73 d3 29 2e 20 54 68 |File For|ks.). Th|
|000019e0| 65 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 69 6e |e inform|ation in|
|000019f0| 20 61 20 66 69 6c 65 20 | 63 61 6e 20 62 65 20 75 | a file |can be u|
|00001a00| 73 65 64 20 66 6f 72 20 | 61 6e 79 20 6f 66 20 61 |sed for |any of a|
|00001a10| 20 76 61 72 69 65 74 79 | 20 6f 66 20 70 75 72 70 | variety| of purp|
|00001a20| 6f 73 65 73 2e 20 46 6f | 72 20 65 78 61 6d 70 6c |oses. Fo|r exampl|
|00001a30| 65 2c 20 61 20 66 69 6c | 65 20 6d 69 67 68 74 20 |e, a fil|e might |
|00001a40| 63 6f 6e 74 61 69 6e 20 | 74 68 65 20 74 65 78 74 |contain |the text|
|00001a50| 20 6f 66 20 61 20 6c 65 | 74 74 65 72 20 6f 72 20 | of a le|tter or |
|00001a60| 74 68 65 20 6e 75 6d 65 | 72 69 63 61 6c 20 64 61 |the nume|rical da|
|00001a70| 74 61 20 69 6e 20 61 20 | 73 70 72 65 61 64 73 68 |ta in a |spreadsh|
|00001a80| 65 65 74 3b 20 74 68 65 | 73 65 20 74 79 70 65 73 |eet; the|se types|
|00001a90| 20 6f 66 20 66 69 6c 65 | 73 20 61 72 65 20 75 73 | of file|s are us|
|00001aa0| 75 61 6c 6c 79 20 6b 6e | 6f 77 6e 20 61 73 20 64 |ually kn|own as d|
|00001ab0| 6f 63 75 6d 65 6e 74 73 | 2e 20 54 79 70 69 63 61 |ocuments|. Typica|
|00001ac0| 6c 6c 79 20 61 20 64 6f | 63 75 6d 65 6e 74 20 69 |lly a do|cument i|
|00001ad0| 73 20 61 20 66 69 6c 65 | 20 74 68 61 74 20 61 20 |s a file| that a |
|00001ae0| 75 73 65 72 20 63 61 6e | 20 63 72 65 61 74 65 20 |user can| create |
|00001af0| 74 68 61 74 20 69 73 20 | 61 73 73 6f 63 69 61 74 |that is |associat|
|00001b00| 65 64 20 77 69 74 68 20 | 61 20 73 69 6e 67 6c 65 |ed with |a single|
|00001b10| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 2c 20 77 68 | applica|tion, wh|
|00001b20| 69 63 68 20 74 68 65 20 | 75 73 65 72 20 65 78 70 |ich the |user exp|
|00001b30| 65 63 74 73 20 74 6f 20 | 62 65 20 61 62 6c 65 20 |ects to |be able |
|00001b40| 74 6f 20 6f 70 65 6e 20 | 62 79 20 64 6f 75 62 6c |to open |by doubl|
|00001b50| 65 2d 63 6c 69 63 6b 69 | 6e 67 20 74 68 65 20 64 |e-clicki|ng the d|
|00001b60| 6f 63 75 6d 65 6e 74 d5 | 73 20 69 63 6f 6e 20 69 |ocument.|s icon i|
|00001b70| 6e 20 74 68 65 20 46 69 | 6e 64 65 72 2e 0d 41 20 |n the Fi|nder..A |
|00001b80| 66 69 6c 65 20 6d 69 67 | 68 74 20 61 6c 73 6f 20 |file mig|ht also |
|00001b90| 63 6f 6e 74 61 69 6e 20 | 61 6e 20 61 70 70 6c 69 |contain |an appli|
|00001ba0| 63 61 74 69 6f 6e 2e 20 | 49 6e 20 74 68 61 74 20 |cation. |In that |
|00001bb0| 63 61 73 65 2c 20 74 68 | 65 20 69 6e 66 6f 72 6d |case, th|e inform|
|00001bc0| 61 74 69 6f 6e 20 69 6e | 20 74 68 65 20 66 69 6c |ation in| the fil|
|00001bd0| 65 20 63 6f 6e 73 69 73 | 74 73 20 6f 66 20 74 68 |e consis|ts of th|
|00001be0| 65 20 65 78 65 63 75 74 | 61 62 6c 65 20 63 6f 64 |e execut|able cod|
|00001bf0| 65 20 6f 66 20 74 68 65 | 20 61 70 70 6c 69 63 61 |e of the| applica|
|00001c00| 74 69 6f 6e 20 69 74 73 | 65 6c 66 20 61 6e 64 20 |tion its|elf and |
|00001c10| 61 6e 79 20 61 70 70 6c | 69 63 61 74 69 6f 6e 2d |any appl|ication-|
|00001c20| 73 70 65 63 69 66 69 63 | 20 72 65 73 6f 75 72 63 |specific| resourc|
|00001c30| 65 73 20 61 6e 64 20 64 | 61 74 61 2e 20 41 70 70 |es and d|ata. App|
|00001c40| 6c 69 63 61 74 69 6f 6e | 73 20 74 79 70 69 63 61 |lication|s typica|
|00001c50| 6c 6c 79 20 61 6c 6c 6f | 77 20 74 68 65 20 75 73 |lly allo|w the us|
|00001c60| 65 72 20 74 6f 20 63 72 | 65 61 74 65 20 61 6e 64 |er to cr|eate and|
|00001c70| 20 6d 61 6e 69 70 75 6c | 61 74 65 20 64 6f 63 75 | manipul|ate docu|
|00001c80| 6d 65 6e 74 73 2e 20 53 | 6f 6d 65 20 61 70 70 6c |ments. S|ome appl|
|00001c90| 69 63 61 74 69 6f 6e 73 | 20 61 6c 73 6f 20 63 72 |ications| also cr|
|00001ca0| 65 61 74 65 20 73 70 65 | 63 69 61 6c 20 66 69 6c |eate spe|cial fil|
|00001cb0| 65 73 20 69 6e 20 77 68 | 69 63 68 20 74 68 65 79 |es in wh|ich they|
|00001cc0| 20 73 74 6f 72 65 20 75 | 73 65 72 2d 73 70 65 63 | store u|ser-spec|
|00001cd0| 69 66 69 63 20 73 65 74 | 74 69 6e 67 73 3b 20 73 |ific set|tings; s|
|00001ce0| 75 63 68 20 66 69 6c 65 | 73 20 61 72 65 20 6b 6e |uch file|s are kn|
|00001cf0| 6f 77 6e 20 61 73 20 70 | 72 65 66 65 72 65 6e 63 |own as p|referenc|
|00001d00| 65 73 20 66 69 6c 65 73 | 2e 0d 54 68 65 20 4d 61 |es files|..The Ma|
|00001d10| 63 69 6e 74 6f 73 68 20 | 4f 70 65 72 61 74 69 6e |cintosh |Operatin|
|00001d20| 67 20 53 79 73 74 65 6d | 20 61 6c 73 6f 20 75 73 |g System| also us|
|00001d30| 65 73 20 66 69 6c 65 73 | 20 66 6f 72 20 6f 74 68 |es files| for oth|
|00001d40| 65 72 20 70 75 72 70 6f | 73 65 73 2e 20 46 6f 72 |er purpo|ses. For|
|00001d50| 20 65 78 61 6d 70 6c 65 | 2c 20 74 68 65 20 46 69 | example|, the Fi|
|00001d60| 6c 65 20 4d 61 6e 61 67 | 65 72 20 6d 61 69 6e 74 |le Manag|er maint|
|00001d70| 61 69 6e 73 20 74 68 65 | 20 68 69 65 72 61 72 63 |ains the| hierarc|
|00001d80| 68 69 63 61 6c 20 6f 72 | 67 61 6e 69 7a 61 74 69 |hical or|ganizati|
|00001d90| 6f 6e 20 6f 66 20 66 69 | 6c 65 73 20 61 6e 64 20 |on of fi|les and |
|00001da0| 66 6f 6c 64 65 72 73 20 | 6f 6e 20 61 20 76 6f 6c |folders |on a vol|
|00001db0| 75 6d 65 20 75 73 69 6e | 67 20 61 20 73 70 65 63 |ume usin|g a spec|
|00001dc0| 69 61 6c 20 66 69 6c 65 | 20 6c 6f 63 61 74 65 64 |ial file| located|
|00001dd0| 20 6f 6e 20 74 68 61 74 | 20 76 6f 6c 75 6d 65 20 | on that| volume |
|00001de0| 63 61 6c 6c 65 64 20 74 | 68 65 20 76 6f 6c 75 6d |called t|he volum|
|00001df0| 65 d5 73 20 63 61 74 61 | 6c 6f 67 20 66 69 6c 65 |e.s cata|log file|
|00001e00| 2e 20 53 69 6d 69 6c 61 | 72 6c 79 2c 20 69 66 20 |. Simila|rly, if |
|00001e10| 76 69 72 74 75 61 6c 20 | 6d 65 6d 6f 72 79 20 69 |virtual |memory i|
|00001e20| 73 20 69 6e 20 6f 70 65 | 72 61 74 69 6f 6e 2c 20 |s in ope|ration, |
|00001e30| 74 68 65 20 4f 70 65 72 | 61 74 69 6e 67 20 53 79 |the Oper|ating Sy|
|00001e40| 73 74 65 6d 20 73 74 6f | 72 65 73 20 75 6e 75 73 |stem sto|res unus|
|00001e50| 65 64 20 70 61 67 65 73 | 20 6f 66 20 6d 65 6d 6f |ed pages| of memo|
|00001e60| 72 79 20 69 6e 20 61 20 | 64 69 73 6b 20 66 69 6c |ry in a |disk fil|
|00001e70| 65 20 63 61 6c 6c 65 64 | 20 74 68 65 20 62 61 63 |e called| the bac|
|00001e80| 6b 69 6e 67 2d 73 74 6f | 72 65 20 66 69 6c 65 2e |king-sto|re file.|
|00001e90| 0d 4e 6f 20 6d 61 74 74 | 65 72 20 77 68 61 74 20 |.No matt|er what |
|00001ea0| 69 74 73 20 66 75 6e 63 | 74 69 6f 6e 2c 20 65 61 |its func|tion, ea|
|00001eb0| 63 68 20 66 69 6c 65 20 | 73 68 61 72 65 73 20 63 |ch file |shares c|
|00001ec0| 65 72 74 61 69 6e 20 63 | 68 61 72 61 63 74 65 72 |ertain c|haracter|
|00001ed0| 69 73 74 69 63 73 20 77 | 69 74 68 20 65 76 65 72 |istics w|ith ever|
|00001ee0| 79 20 6f 74 68 65 72 20 | 66 69 6c 65 2e 20 54 68 |y other |file. Th|
|00001ef0| 69 73 20 73 65 63 74 69 | 6f 6e 20 64 65 73 63 72 |is secti|on descr|
|00001f00| 69 62 65 73 20 74 68 65 | 73 65 20 67 65 6e 65 72 |ibes the|se gener|
|00001f10| 61 6c 20 63 68 61 72 61 | 63 74 65 72 69 73 74 69 |al chara|cteristi|
|00001f20| 63 73 20 6f 66 20 4d 61 | 63 69 6e 74 6f 73 68 20 |cs of Ma|cintosh |
|00001f30| 66 69 6c 65 73 2c 20 69 | 6e 63 6c 75 64 69 6e 67 |files, i|ncluding|
|00001f40| 0d 6e 09 66 69 6c 65 20 | 66 6f 72 6b 73 0d 6e 09 |.n.file |forks.n.|
|00001f50| 66 69 6c 65 20 73 69 7a | 65 20 61 6e 64 20 61 63 |file siz|e and ac|
|00001f60| 63 65 73 73 20 63 68 61 | 72 61 63 74 65 72 69 73 |cess cha|racteris|
|00001f70| 74 69 63 73 0d 6e 09 66 | 69 6c 65 20 73 79 73 74 |tics.n.f|ile syst|
|00001f80| 65 6d 20 6f 72 67 61 6e | 69 7a 61 74 69 6f 6e 0d |em organ|ization.|
|00001f90| 6e 09 66 69 6c 65 20 6e | 61 6d 69 6e 67 20 61 6e |n.file n|aming an|
|00001fa0| 64 20 69 64 65 6e 74 69 | 66 69 63 61 74 69 6f 6e |d identi|fication|
|00001fb0| 0d 46 69 6c 65 20 46 6f | 72 6b 73 0d 4d 61 6e 79 |.File Fo|rks.Many|
|00001fc0| 20 6f 70 65 72 61 74 69 | 6e 67 20 73 79 73 74 65 | operati|ng syste|
|00001fd0| 6d 73 20 74 72 65 61 74 | 20 61 20 66 69 6c 65 20 |ms treat| a file |
|00001fe0| 73 69 6d 70 6c 79 20 61 | 73 20 61 20 6e 61 6d 65 |simply a|s a name|
|00001ff0| 64 2c 20 6f 72 64 65 72 | 65 64 20 73 65 71 75 65 |d, order|ed seque|
|00002000| 6e 63 65 20 6f 66 20 62 | 79 74 65 73 20 28 70 6f |nce of b|ytes (po|
|00002010| 73 73 69 62 6c 79 20 74 | 65 72 6d 69 6e 61 74 65 |ssibly t|erminate|
|00002020| 64 20 62 79 20 61 20 62 | 79 74 65 20 68 61 76 69 |d by a b|yte havi|
|00002030| 6e 67 20 61 20 73 70 65 | 63 69 61 6c 20 76 61 6c |ng a spe|cial val|
|00002040| 75 65 20 74 68 61 74 20 | 69 6e 64 69 63 61 74 65 |ue that |indicate|
|00002050| 73 20 74 68 65 20 65 6e | 64 2d 6f 66 2d 66 69 6c |s the en|d-of-fil|
|00002060| 65 29 2e 20 41 73 20 69 | 6c 6c 75 73 74 72 61 74 |e). As i|llustrat|
|00002070| 65 64 20 69 6e 20 46 69 | 67 75 72 65 20 31 2d 31 |ed in Fi|gure 1-1|
|00002080| 2c 20 68 6f 77 65 76 65 | 72 2c 20 65 61 63 68 20 |, howeve|r, each |
|00002090| 4d 61 63 69 6e 74 6f 73 | 68 20 66 69 6c 65 20 68 |Macintos|h file h|
|000020a0| 61 73 20 74 77 6f 20 66 | 6f 72 6b 73 2c 20 6b 6e |as two f|orks, kn|
|000020b0| 6f 77 6e 20 61 73 20 74 | 68 65 20 64 61 74 61 20 |own as t|he data |
|000020c0| 66 6f 72 6b 20 61 6e 64 | 20 74 68 65 20 72 65 73 |fork and| the res|
|000020d0| 6f 75 72 63 65 20 66 6f | 72 6b 2e 0d 54 68 65 20 |ource fo|rk..The |
|000020e0| 74 77 6f 20 66 6f 72 6b | 73 20 6f 66 20 61 20 4d |two fork|s of a M|
|000020f0| 61 63 69 6e 74 6f 73 68 | 20 66 69 6c 65 0d 41 20 |acintosh| file.A |
|00002100| 66 69 6c 65 d5 73 20 72 | 65 73 6f 75 72 63 65 20 |file.s r|esource |
|00002110| 66 6f 72 6b 20 63 6f 6e | 74 61 69 6e 73 20 74 68 |fork con|tains th|
|00002120| 61 74 20 66 69 6c 65 d5 | 73 20 72 65 73 6f 75 72 |at file.|s resour|
|00002130| 63 65 73 2e 20 49 66 20 | 74 68 65 20 66 69 6c 65 |ces. If |the file|
|00002140| 20 69 73 20 61 6e 20 61 | 70 70 6c 69 63 61 74 69 | is an a|pplicati|
|00002150| 6f 6e 2c 20 74 68 65 20 | 72 65 73 6f 75 72 63 65 |on, the |resource|
|00002160| 20 66 6f 72 6b 20 74 79 | 70 69 63 61 6c 6c 79 20 | fork ty|pically |
|00002170| 63 6f 6e 74 61 69 6e 73 | 20 6d 65 6e 75 20 74 65 |contains| menu te|
|00002180| 6d 70 6c 61 74 65 73 2c | 20 64 69 61 6c 6f 67 20 |mplates,| dialog |
|00002190| 74 65 6d 70 6c 61 74 65 | 73 2c 20 66 6f 6e 74 73 |template|s, fonts|
|000021a0| 2c 20 69 63 6f 6e 73 2c | 20 61 6e 64 20 65 76 65 |, icons,| and eve|
|000021b0| 6e 20 74 68 65 20 65 78 | 65 63 75 74 61 62 6c 65 |n the ex|ecutable|
|000021c0| 20 63 6f 64 65 20 6f 66 | 20 74 68 65 20 61 70 70 | code of| the app|
|000021d0| 6c 69 63 61 74 69 6f 6e | 20 69 74 73 65 6c 66 2e |lication| itself.|
|000021e0| 20 41 20 70 61 72 74 69 | 63 75 6c 61 72 6c 79 20 | A parti|cularly |
|000021f0| 69 6d 70 6f 72 74 61 6e | 74 20 72 65 73 6f 75 72 |importan|t resour|
|00002200| 63 65 20 69 73 20 74 68 | 65 20 61 70 70 6c 69 63 |ce is th|e applic|
|00002210| 61 74 69 6f 6e d5 73 20 | 27 53 49 5a 45 27 20 72 |ation.s |'SIZE' r|
|00002220| 65 73 6f 75 72 63 65 2c | 20 77 68 69 63 68 20 63 |esource,| which c|
|00002230| 6f 6e 74 61 69 6e 73 20 | 69 6e 66 6f 72 6d 61 74 |ontains |informat|
|00002240| 69 6f 6e 20 61 62 6f 75 | 74 20 74 68 65 20 63 61 |ion abou|t the ca|
|00002250| 70 61 62 69 6c 69 74 69 | 65 73 20 6f 66 20 74 68 |pabiliti|es of th|
|00002260| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 61 6e |e applic|ation an|
|00002270| 64 20 69 74 73 20 72 75 | 6e 2d 74 69 6d 65 20 6d |d its ru|n-time m|
|00002280| 65 6d 6f 72 79 20 72 65 | 71 75 69 72 65 6d 65 6e |emory re|quiremen|
|00002290| 74 73 2e 20 49 66 20 74 | 68 65 20 66 69 6c 65 20 |ts. If t|he file |
|000022a0| 69 73 20 61 20 64 6f 63 | 75 6d 65 6e 74 2c 20 69 |is a doc|ument, i|
|000022b0| 74 73 20 72 65 73 6f 75 | 72 63 65 20 66 6f 72 6b |ts resou|rce fork|
|000022c0| 20 74 79 70 69 63 61 6c | 6c 79 20 63 6f 6e 74 61 | typical|ly conta|
|000022d0| 69 6e 73 20 70 72 65 66 | 65 72 65 6e 63 65 20 73 |ins pref|erence s|
|000022e0| 65 74 74 69 6e 67 73 2c | 20 77 69 6e 64 6f 77 20 |ettings,| window |
|000022f0| 6c 6f 63 61 74 69 6f 6e | 73 2c 20 61 6e 64 20 64 |location|s, and d|
|00002300| 6f 63 75 6d 65 6e 74 2d | 73 70 65 63 69 66 69 63 |ocument-|specific|
|00002310| 20 66 6f 6e 74 73 2c 20 | 69 63 6f 6e 73 2c 20 61 | fonts, |icons, a|
|00002320| 6e 64 20 73 6f 20 66 6f | 72 74 68 2e 0d 41 20 66 |nd so fo|rth..A f|
|00002330| 69 6c 65 d5 73 20 64 61 | 74 61 20 66 6f 72 6b 20 |ile.s da|ta fork |
|00002340| 63 6f 6e 74 61 69 6e 73 | 20 74 68 65 20 66 69 6c |contains| the fil|
|00002350| 65 d5 73 20 64 61 74 61 | 2e 20 49 74 20 69 73 20 |e.s data|. It is |
|00002360| 73 69 6d 70 6c 79 20 61 | 20 73 65 72 69 65 73 20 |simply a| series |
|00002370| 6f 66 20 63 6f 6e 73 65 | 63 75 74 69 76 65 20 62 |of conse|cutive b|
|00002380| 79 74 65 73 20 6f 66 20 | 64 61 74 61 2e 20 49 6e |ytes of |data. In|
|00002390| 20 61 20 73 65 6e 73 65 | 2c 20 74 68 65 20 64 61 | a sense|, the da|
|000023a0| 74 61 20 66 6f 72 6b 20 | 6f 66 20 61 20 4d 61 63 |ta fork |of a Mac|
|000023b0| 69 6e 74 6f 73 68 20 66 | 69 6c 65 20 63 6f 72 72 |intosh f|ile corr|
|000023c0| 65 73 70 6f 6e 64 73 20 | 74 6f 20 61 6e 20 65 6e |esponds |to an en|
|000023d0| 74 69 72 65 20 66 69 6c | 65 20 69 6e 20 6f 70 65 |tire fil|e in ope|
|000023e0| 72 61 74 69 6e 67 20 73 | 79 73 74 65 6d 73 20 74 |rating s|ystems t|
|000023f0| 68 61 74 20 74 72 65 61 | 74 20 61 20 66 69 6c 65 |hat trea|t a file|
|00002400| 20 73 69 6d 70 6c 79 20 | 61 73 20 61 20 73 65 71 | simply |as a seq|
|00002410| 75 65 6e 63 65 20 6f 66 | 20 62 79 74 65 73 2e 20 |uence of| bytes. |
|00002420| 54 68 65 20 62 79 74 65 | 73 20 73 74 6f 72 65 64 |The byte|s stored|
|00002430| 20 69 6e 20 61 20 66 69 | 6c 65 d5 73 20 64 61 74 | in a fi|le.s dat|
|00002440| 61 20 66 6f 72 6b 20 64 | 6f 20 6e 6f 74 20 68 61 |a fork d|o not ha|
|00002450| 76 65 20 74 6f 20 65 78 | 68 69 62 69 74 20 61 6e |ve to ex|hibit an|
|00002460| 79 20 69 6e 74 65 72 6e | 61 6c 20 73 74 72 75 63 |y intern|al struc|
|00002470| 74 75 72 65 2c 20 75 6e | 6c 69 6b 65 20 74 68 65 |ture, un|like the|
|00002480| 20 62 79 74 65 73 20 73 | 74 6f 72 65 64 20 69 6e | bytes s|tored in|
|00002490| 20 74 68 65 20 72 65 73 | 6f 75 72 63 65 20 66 6f | the res|ource fo|
|000024a0| 72 6b 20 28 77 68 69 63 | 68 20 63 6f 6e 73 69 73 |rk (whic|h consis|
|000024b0| 74 73 20 6f 66 20 61 20 | 72 65 73 6f 75 72 63 65 |ts of a |resource|
|000024c0| 20 6d 61 70 20 66 6f 6c | 6c 6f 77 65 64 20 62 79 | map fol|lowed by|
|000024d0| 20 72 65 73 6f 75 72 63 | 65 73 29 2e 20 52 61 74 | resourc|es). Rat|
|000024e0| 68 65 72 2c 20 79 6f 75 | 72 20 61 70 70 6c 69 63 |her, you|r applic|
|000024f0| 61 74 69 6f 6e 20 69 73 | 20 72 65 73 70 6f 6e 73 |ation is| respons|
|00002500| 69 62 6c 65 20 66 6f 72 | 20 69 6e 74 65 72 70 72 |ible for| interpr|
|00002510| 65 74 69 6e 67 20 74 68 | 65 20 62 79 74 65 73 20 |eting th|e bytes |
|00002520| 69 6e 20 74 68 65 20 64 | 61 74 61 20 66 6f 72 6b |in the d|ata fork|
|00002530| 20 69 6e 20 77 68 61 74 | 65 76 65 72 20 6d 61 6e | in what|ever man|
|00002540| 6e 65 72 20 69 73 20 61 | 70 70 72 6f 70 72 69 61 |ner is a|ppropria|
|00002550| 74 65 2e 20 54 68 65 20 | 64 61 74 61 20 66 6f 72 |te. The |data for|
|00002560| 6b 20 6f 66 20 61 20 64 | 6f 63 75 6d 65 6e 74 20 |k of a d|ocument |
|00002570| 66 69 6c 65 20 6d 69 67 | 68 74 20 66 6f 72 20 65 |file mig|ht for e|
|00002580| 78 61 6d 70 6c 65 20 63 | 6f 6e 74 61 69 6e 20 74 |xample c|ontain t|
|00002590| 68 65 20 74 65 78 74 20 | 6f 66 20 61 20 6c 65 74 |he text |of a let|
|000025a0| 74 65 72 2e 20 0d 45 76 | 65 6e 20 74 68 6f 75 67 |ter. .Ev|en thoug|
|000025b0| 68 20 61 20 4d 61 63 69 | 6e 74 6f 73 68 20 66 69 |h a Maci|ntosh fi|
|000025c0| 6c 65 20 61 6c 77 61 79 | 73 20 63 6f 6e 74 61 69 |le alway|s contai|
|000025d0| 6e 73 20 62 6f 74 68 20 | 61 20 72 65 73 6f 75 72 |ns both |a resour|
|000025e0| 63 65 20 66 6f 72 6b 20 | 61 6e 64 20 61 20 64 61 |ce fork |and a da|
|000025f0| 74 61 20 66 6f 72 6b 2c | 20 6f 6e 65 20 6f 72 20 |ta fork,| one or |
|00002600| 62 6f 74 68 20 6f 66 20 | 74 68 6f 73 65 20 66 6f |both of |those fo|
|00002610| 72 6b 73 20 63 61 6e 20 | 62 65 20 65 6d 70 74 79 |rks can |be empty|
|00002620| 2e 20 44 6f 63 75 6d 65 | 6e 74 20 66 69 6c 65 73 |. Docume|nt files|
|00002630| 20 73 6f 6d 65 74 69 6d | 65 73 20 63 6f 6e 74 61 | sometim|es conta|
|00002640| 69 6e 20 6f 6e 6c 79 20 | 64 61 74 61 20 28 69 6e |in only |data (in|
|00002650| 20 77 68 69 63 68 20 63 | 61 73 65 20 74 68 65 20 | which c|ase the |
|00002660| 72 65 73 6f 75 72 63 65 | 20 66 6f 72 6b 20 69 73 |resource| fork is|
|00002670| 20 65 6d 70 74 79 29 2e | 20 4d 6f 72 65 20 6f 66 | empty).| More of|
|00002680| 74 65 6e 2c 20 64 6f 63 | 75 6d 65 6e 74 20 66 69 |ten, doc|ument fi|
|00002690| 6c 65 73 20 63 6f 6e 74 | 61 69 6e 20 62 6f 74 68 |les cont|ain both|
|000026a0| 20 72 65 73 6f 75 72 63 | 65 73 20 61 6e 64 20 64 | resourc|es and d|
|000026b0| 61 74 61 2e 20 41 70 70 | 6c 69 63 61 74 69 6f 6e |ata. App|lication|
|000026c0| 20 66 69 6c 65 73 20 67 | 65 6e 65 72 61 6c 6c 79 | files g|enerally|
|000026d0| 20 63 6f 6e 74 61 69 6e | 20 72 65 73 6f 75 72 63 | contain| resourc|
|000026e0| 65 73 20 6f 6e 6c 79 20 | 28 69 6e 20 77 68 69 63 |es only |(in whic|
|000026f0| 68 20 63 61 73 65 2c 20 | 74 68 65 20 64 61 74 61 |h case, |the data|
|00002700| 20 66 6f 72 6b 20 69 73 | 20 65 6d 70 74 79 29 2e | fork is| empty).|
|00002710| 20 41 70 70 6c 69 63 61 | 74 69 6f 6e 20 66 69 6c | Applica|tion fil|
|00002720| 65 73 20 63 61 6e 2c 20 | 68 6f 77 65 76 65 72 2c |es can, |however,|
|00002730| 20 63 6f 6e 74 61 69 6e | 20 64 61 74 61 20 74 6f | contain| data to|
|00002740| 6f 2e 0d 57 68 65 74 68 | 65 72 20 79 6f 75 20 73 |o..Wheth|er you s|
|00002750| 74 6f 72 65 20 73 70 65 | 63 69 66 69 63 20 64 61 |tore spe|cific da|
|00002760| 74 61 20 69 6e 20 74 68 | 65 20 64 61 74 61 20 66 |ta in th|e data f|
|00002770| 6f 72 6b 20 6f 72 20 69 | 6e 20 74 68 65 20 72 65 |ork or i|n the re|
|00002780| 73 6f 75 72 63 65 20 66 | 6f 72 6b 20 6f 66 20 61 |source f|ork of a|
|00002790| 20 66 69 6c 65 20 64 65 | 70 65 6e 64 73 20 6c 61 | file de|pends la|
|000027a0| 72 67 65 6c 79 20 6f 6e | 20 77 68 65 74 68 65 72 |rgely on| whether|
|000027b0| 20 74 68 61 74 20 64 61 | 74 61 20 63 61 6e 20 75 | that da|ta can u|
|000027c0| 73 65 66 75 6c 6c 79 20 | 62 65 20 73 74 72 75 63 |sefully |be struc|
|000027d0| 74 75 72 65 64 20 61 73 | 20 61 20 72 65 73 6f 75 |tured as| a resou|
|000027e0| 72 63 65 2e 20 46 6f 72 | 20 65 78 61 6d 70 6c 65 |rce. For| example|
|000027f0| 2c 20 69 66 20 74 68 65 | 20 64 61 74 61 20 79 6f |, if the| data yo|
|00002800| 75 20 77 61 6e 74 20 74 | 6f 20 73 74 6f 72 65 20 |u want t|o store |
|00002810| 63 6f 6e 73 69 73 74 73 | 20 6f 66 20 61 20 73 6d |consists| of a sm|
|00002820| 61 6c 6c 20 6e 75 6d 62 | 65 72 20 6f 66 20 6e 61 |all numb|er of na|
|00002830| 6d 65 73 20 61 6e 64 20 | 74 65 6c 65 70 68 6f 6e |mes and |telephon|
|00002840| 65 20 6e 75 6d 62 65 72 | 73 2c 20 79 6f 75 20 63 |e number|s, you c|
|00002850| 61 6e 20 65 61 73 69 6c | 79 20 64 65 66 69 6e 65 |an easil|y define|
|00002860| 20 61 20 72 65 73 6f 75 | 72 63 65 20 74 79 70 65 | a resou|rce type|
|00002870| 20 74 68 61 74 20 70 61 | 69 72 73 20 65 61 63 68 | that pa|irs each|
|00002880| 20 6e 61 6d 65 20 77 69 | 74 68 20 69 74 73 20 74 | name wi|th its t|
|00002890| 65 6c 65 70 68 6f 6e 65 | 20 6e 75 6d 62 65 72 2e |elephone| number.|
|000028a0| 20 54 68 65 6e 20 79 6f | 75 20 63 61 6e 20 72 65 | Then yo|u can re|
|000028b0| 61 64 20 6e 61 6d 65 73 | 20 61 6e 64 20 63 6f 72 |ad names| and cor|
|000028c0| 72 65 73 70 6f 6e 64 69 | 6e 67 20 6e 75 6d 62 65 |respondi|ng numbe|
|000028d0| 72 73 20 66 72 6f 6d 20 | 74 68 65 20 72 65 73 6f |rs from |the reso|
|000028e0| 75 72 63 65 20 66 69 6c | 65 20 62 79 20 75 73 69 |urce fil|e by usi|
|000028f0| 6e 67 20 52 65 73 6f 75 | 72 63 65 20 4d 61 6e 61 |ng Resou|rce Mana|
|00002900| 67 65 72 20 72 6f 75 74 | 69 6e 65 73 2e 20 54 6f |ger rout|ines. To|
|00002910| 20 72 65 74 72 69 65 76 | 65 20 74 68 65 20 64 61 | retriev|e the da|
|00002920| 74 61 20 73 74 6f 72 65 | 64 20 69 6e 20 61 20 72 |ta store|d in a r|
|00002930| 65 73 6f 75 72 63 65 2c | 20 79 6f 75 20 73 69 6d |esource,| you sim|
|00002940| 70 6c 79 20 73 70 65 63 | 69 66 79 20 74 68 65 20 |ply spec|ify the |
|00002950| 72 65 73 6f 75 72 63 65 | 20 74 79 70 65 20 61 6e |resource| type an|
|00002960| 64 20 49 44 3b 20 79 6f | 75 20 64 6f 6e d5 74 20 |d ID; yo|u don.t |
|00002970| 6e 65 65 64 20 74 6f 20 | 6b 6e 6f 77 2c 20 66 6f |need to |know, fo|
|00002980| 72 20 69 6e 73 74 61 6e | 63 65 2c 20 68 6f 77 20 |r instan|ce, how |
|00002990| 6d 61 6e 79 20 62 79 74 | 65 73 20 6f 66 20 64 61 |many byt|es of da|
|000029a0| 74 61 20 61 72 65 20 73 | 74 6f 72 65 64 20 69 6e |ta are s|tored in|
|000029b0| 20 74 68 61 74 20 72 65 | 73 6f 75 72 63 65 2e 0d | that re|source..|
|000029c0| 49 6e 20 73 6f 6d 65 20 | 63 61 73 65 73 2c 20 68 |In some |cases, h|
|000029d0| 6f 77 65 76 65 72 2c 20 | 69 74 20 69 73 20 6e 6f |owever, |it is no|
|000029e0| 74 20 70 6f 73 73 69 62 | 6c 65 20 6f 72 20 61 64 |t possib|le or ad|
|000029f0| 76 69 73 61 62 6c 65 20 | 74 6f 20 73 74 6f 72 65 |visable |to store|
|00002a00| 20 79 6f 75 72 20 64 61 | 74 61 20 69 6e 20 72 65 | your da|ta in re|
|00002a10| 73 6f 75 72 63 65 73 2e | 20 54 68 65 20 64 61 74 |sources.| The dat|
|00002a20| 61 20 6d 69 67 68 74 20 | 62 65 20 74 6f 6f 20 64 |a might |be too d|
|00002a30| 69 66 66 69 63 75 6c 74 | 20 74 6f 20 70 75 74 20 |ifficult| to put |
|00002a40| 69 6e 74 6f 20 74 68 65 | 20 6b 69 6e 64 20 6f 66 |into the| kind of|
|00002a50| 20 73 74 72 75 63 74 75 | 72 65 20 72 65 71 75 69 | structu|re requi|
|00002a60| 72 65 64 20 62 79 20 74 | 68 65 20 52 65 73 6f 75 |red by t|he Resou|
|00002a70| 72 63 65 20 4d 61 6e 61 | 67 65 72 2e 20 46 6f 72 |rce Mana|ger. For|
|00002a80| 20 65 78 61 6d 70 6c 65 | 2c 20 69 74 20 69 73 20 | example|, it is |
|00002a90| 65 61 73 69 65 73 74 20 | 74 6f 20 73 74 6f 72 65 |easiest |to store|
|00002aa0| 20 61 20 64 6f 63 75 6d | 65 6e 74 d5 73 20 74 65 | a docum|ent.s te|
|00002ab0| 78 74 2c 20 77 68 69 63 | 68 20 69 73 20 75 73 75 |xt, whic|h is usu|
|00002ac0| 61 6c 6c 79 20 6f 66 20 | 76 61 72 69 61 62 6c 65 |ally of |variable|
|00002ad0| 20 6c 65 6e 67 74 68 2c | 20 69 6e 20 61 20 66 69 | length,| in a fi|
|00002ae0| 6c 65 d5 73 20 64 61 74 | 61 20 66 6f 72 6b 2e 20 |le.s dat|a fork. |
|00002af0| 54 68 65 6e 20 79 6f 75 | 20 63 61 6e 20 75 73 65 |Then you| can use|
|00002b00| 20 46 69 6c 65 20 4d 61 | 6e 61 67 65 72 20 72 6f | File Ma|nager ro|
|00002b10| 75 74 69 6e 65 73 20 74 | 6f 20 61 63 63 65 73 73 |utines t|o access|
|00002b20| 20 61 6e 79 20 62 79 74 | 65 20 6f 72 20 67 72 6f | any byt|e or gro|
|00002b30| 75 70 20 6f 66 20 62 79 | 74 65 73 20 69 6e 64 69 |up of by|tes indi|
|00002b40| 76 69 64 75 61 6c 6c 79 | 2e 0d 45 76 65 6e 20 77 |vidually|..Even w|
|00002b50| 68 65 6e 20 69 74 20 69 | 73 20 65 61 73 79 20 74 |hen it i|s easy t|
|00002b60| 6f 20 64 65 66 69 6e 65 | 20 61 20 72 65 73 6f 75 |o define| a resou|
|00002b70| 72 63 65 20 74 79 70 65 | 20 66 6f 72 20 79 6f 75 |rce type| for you|
|00002b80| 72 20 64 61 74 61 2c 20 | 6c 69 6d 69 74 61 74 69 |r data, |limitati|
|00002b90| 6f 6e 73 20 6f 6e 20 74 | 68 65 20 52 65 73 6f 75 |ons on t|he Resou|
|00002ba0| 72 63 65 20 4d 61 6e 61 | 67 65 72 20 6d 69 67 68 |rce Mana|ger migh|
|00002bb0| 74 20 63 6f 6d 70 65 6c | 20 79 6f 75 20 74 6f 20 |t compel| you to |
|00002bc0| 73 74 6f 72 65 20 79 6f | 75 72 20 64 61 74 61 20 |store yo|ur data |
|00002bd0| 69 6e 20 74 68 65 20 64 | 61 74 61 20 66 6f 72 6b |in the d|ata fork|
|00002be0| 20 69 6e 73 74 65 61 64 | 2e 20 41 20 72 65 73 6f | instead|. A reso|
|00002bf0| 75 72 63 65 20 66 6f 72 | 6b 20 63 61 6e 20 63 6f |urce for|k can co|
|00002c00| 6e 74 61 69 6e 20 61 74 | 20 6d 6f 73 74 20 61 62 |ntain at| most ab|
|00002c10| 6f 75 74 20 32 37 30 30 | 20 72 65 73 6f 75 72 63 |out 2700| resourc|
|00002c20| 65 73 2e 20 4d 6f 72 65 | 20 69 6d 70 6f 72 74 61 |es. More| importa|
|00002c30| 6e 74 6c 79 2c 20 74 68 | 65 20 52 65 73 6f 75 72 |ntly, th|e Resour|
|00002c40| 63 65 20 4d 61 6e 61 67 | 65 72 20 75 73 65 73 20 |ce Manag|er uses |
|00002c50| 61 20 6c 69 6e 65 61 72 | 20 73 65 61 72 63 68 20 |a linear| search |
|00002c60| 77 68 65 6e 20 6c 6f 6f | 6b 69 6e 67 20 74 68 72 |when loo|king thr|
|00002c70| 6f 75 67 68 20 61 20 66 | 69 6c 65 d5 73 20 72 65 |ough a f|ile.s re|
|00002c80| 73 6f 75 72 63 65 20 74 | 79 70 65 73 20 61 6e 64 |source t|ypes and|
|00002c90| 20 72 65 73 6f 75 72 63 | 65 20 49 44 73 2e 20 49 | resourc|e IDs. I|
|00002ca0| 66 20 74 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |f the nu|mber of |
|00002cb0| 74 79 70 65 73 20 6f 72 | 20 49 44 73 20 74 68 61 |types or| IDs tha|
|00002cc0| 74 20 6e 65 65 64 20 74 | 6f 20 62 65 20 73 65 61 |t need t|o be sea|
|00002cd0| 72 63 68 65 64 20 69 73 | 20 6c 61 72 67 65 2c 20 |rched is| large, |
|00002ce0| 61 63 63 65 73 73 69 6e | 67 20 74 68 65 20 72 65 |accessin|g the re|
|00002cf0| 73 6f 75 72 63 65 20 64 | 61 74 61 20 63 61 6e 20 |source d|ata can |
|00002d00| 62 65 63 6f 6d 65 20 73 | 6c 6f 77 2e 20 41 73 20 |become s|low. As |
|00002d10| 61 20 72 75 6c 65 20 6f | 66 20 74 68 75 6d 62 2c |a rule o|f thumb,|
|00002d20| 20 69 66 20 79 6f 75 20 | 6e 65 65 64 20 74 6f 20 | if you |need to |
|00002d30| 6d 61 6e 61 67 65 20 64 | 61 74 61 20 74 68 61 74 |manage d|ata that|
|00002d40| 20 77 6f 75 6c 64 20 6f | 63 63 75 70 79 20 6d 6f | would o|ccupy mo|
|00002d50| 72 65 20 74 68 61 6e 20 | 61 62 6f 75 74 20 35 30 |re than |about 50|
|00002d60| 30 20 72 65 73 6f 75 72 | 63 65 73 20 74 6f 74 61 |0 resour|ces tota|
|00002d70| 6c 2c 20 79 6f 75 20 73 | 68 6f 75 6c 64 20 75 73 |l, you s|hould us|
|00002d80| 65 20 74 68 65 20 64 61 | 74 61 20 66 6f 72 6b 20 |e the da|ta fork |
|00002d90| 69 6e 73 74 65 61 64 2e | 0d 49 6e 20 67 65 6e 65 |instead.|.In gene|
|00002da0| 72 61 6c 2c 20 79 6f 75 | 20 73 68 6f 75 6c 64 20 |ral, you| should |
|00002db0| 73 74 6f 72 65 20 64 61 | 74 61 20 63 72 65 61 74 |store da|ta creat|
|00002dc0| 65 64 20 62 79 20 74 68 | 65 20 75 73 65 72 20 69 |ed by th|e user i|
|00002dd0| 6e 20 61 20 66 69 6c 65 | d5 73 20 64 61 74 61 20 |n a file|.s data |
|00002de0| 66 6f 72 6b 2c 20 75 6e | 6c 65 73 73 20 74 68 65 |fork, un|less the|
|00002df0| 20 64 61 74 61 20 69 73 | 20 67 75 61 72 61 6e 74 | data is| guarant|
|00002e00| 65 65 64 20 74 6f 20 6f | 63 63 75 70 79 20 61 20 |eed to o|ccupy a |
|00002e10| 73 6d 61 6c 6c 20 6e 75 | 6d 62 65 72 20 6f 66 20 |small nu|mber of |
|00002e20| 72 65 73 6f 75 72 63 65 | 73 2e 20 54 68 65 20 52 |resource|s. The R|
|00002e30| 65 73 6f 75 72 63 65 20 | 4d 61 6e 61 67 65 72 20 |esource |Manager |
|00002e40| 77 61 73 20 6e 6f 74 20 | 64 65 73 69 67 6e 65 64 |was not |designed|
|00002e50| 20 74 6f 20 62 65 20 61 | 20 67 65 6e 65 72 61 6c | to be a| general|
|00002e60| 2d 70 75 72 70 6f 73 65 | 20 64 61 74 61 20 73 74 |-purpose| data st|
|00002e70| 6f 72 61 67 65 20 61 6e | 64 20 72 65 74 72 69 65 |orage an|d retrie|
|00002e80| 76 61 6c 20 73 79 73 74 | 65 6d 2e 20 41 6c 73 6f |val syst|em. Also|
|00002e90| 2c 20 74 68 65 20 52 65 | 73 6f 75 72 63 65 20 4d |, the Re|source M|
|00002ea0| 61 6e 61 67 65 72 20 64 | 6f 65 73 20 6e 6f 74 20 |anager d|oes not |
|00002eb0| 73 75 70 70 6f 72 74 20 | 6d 75 6c 74 69 70 6c 65 |support |multiple|
|00002ec0| 20 61 63 63 65 73 73 20 | 74 6f 20 61 20 66 69 6c | access |to a fil|
|00002ed0| 65 d5 73 20 72 65 73 6f | 75 72 63 65 20 66 6f 72 |e.s reso|urce for|
|00002ee0| 6b 2e 20 49 66 20 79 6f | 75 20 77 61 6e 74 20 74 |k. If yo|u want t|
|00002ef0| 6f 20 73 74 6f 72 65 20 | 64 61 74 61 20 74 68 61 |o store |data tha|
|00002f00| 74 20 63 61 6e 20 62 65 | 20 61 63 63 65 73 73 65 |t can be| accesse|
|00002f10| 64 20 62 79 20 6d 75 6c | 74 69 70 6c 65 20 75 73 |d by mul|tiple us|
|00002f20| 65 72 73 20 6f 66 20 61 | 20 73 68 61 72 65 64 20 |ers of a| shared |
|00002f30| 76 6f 6c 75 6d 65 2c 20 | 75 73 65 20 74 68 65 20 |volume, |use the |
|00002f40| 64 61 74 61 20 66 6f 72 | 6b 2e 3c 33 36 70 74 5c |data for|k.<36pt\|
|00002f50| 3e 5c 78 31 32 20 3c 38 | 62 61 74 5c 3e 75 0d 42 |>\x12 <8|bat\>u.B|
|00002f60| 65 63 61 75 73 65 20 74 | 68 65 20 52 65 73 6f 75 |ecause t|he Resou|
|00002f70| 72 63 65 20 4d 61 6e 61 | 67 65 72 20 69 73 20 6f |rce Mana|ger is o|
|00002f80| 66 20 6c 69 6d 69 74 65 | 64 20 75 73 65 20 69 6e |f limite|d use in|
|00002f90| 20 73 74 6f 72 69 6e 67 | 20 6c 61 72 67 65 20 61 | storing| large a|
|00002fa0| 6d 6f 75 6e 74 73 20 6f | 66 20 75 73 65 72 2d 67 |mounts o|f user-g|
|00002fb0| 65 6e 65 72 61 74 65 64 | 20 64 61 74 61 2c 20 6d |enerated| data, m|
|00002fc0| 6f 73 74 20 6f 66 20 74 | 68 65 20 74 65 63 68 6e |ost of t|he techn|
|00002fd0| 69 71 75 65 73 20 69 6e | 20 d2 55 73 69 6e 67 20 |iques in| .Using |
|00002fe0| 46 69 6c 65 73 d3 20 73 | 68 6f 77 20 68 6f 77 20 |Files. s|how how |
|00002ff0| 74 6f 20 75 73 65 20 74 | 68 65 20 46 69 6c 65 20 |to use t|he File |
|00003000| 4d 61 6e 61 67 65 72 20 | 74 6f 20 6d 61 6e 61 67 |Manager |to manag|
|00003010| 65 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 73 74 |e inform|ation st|
|00003020| 6f 72 65 64 20 69 6e 20 | 61 20 66 69 6c 65 d5 73 |ored in |a file.s|
|00003030| 20 64 61 74 61 20 66 6f | 72 6b 2e 20 53 65 65 20 | data fo|rk. See |
|00003040| 74 68 65 20 73 65 63 74 | 69 6f 6e 20 d2 55 73 69 |the sect|ion .Usi|
|00003050| 6e 67 20 61 20 50 72 65 | 66 65 72 65 6e 63 65 73 |ng a Pre|ferences|
|00003060| 20 46 69 6c 65 d3 20 66 | 6f 72 20 61 6e 20 65 78 | File. f|or an ex|
|00003070| 61 6d 70 6c 65 20 6f 66 | 20 74 68 65 20 75 73 65 |ample of| the use|
|00003080| 20 6f 66 20 74 68 65 20 | 52 65 73 6f 75 72 63 65 | of the |Resource|
|00003090| 20 4d 61 6e 61 67 65 72 | 20 74 6f 20 61 63 63 65 | Manager| to acce|
|000030a0| 73 73 20 64 61 74 61 20 | 73 74 6f 72 65 64 20 69 |ss data |stored i|
|000030b0| 6e 20 61 20 66 69 6c 65 | d5 73 20 72 65 73 6f 75 |n a file|.s resou|
|000030c0| 72 63 65 20 66 6f 72 6b | 2e 0d 46 69 6c 65 20 53 |rce fork|..File S|
|000030d0| 69 7a 65 0d 54 68 65 20 | 73 69 7a 65 20 6f 66 20 |ize.The |size of |
|000030e0| 61 20 66 69 6c 65 20 69 | 73 20 75 73 75 61 6c 6c |a file i|s usuall|
|000030f0| 79 20 6c 69 6d 69 74 65 | 64 20 6f 6e 6c 79 20 62 |y limite|d only b|
|00003100| 79 20 74 68 65 20 73 69 | 7a 65 20 6f 66 20 74 68 |y the si|ze of th|
|00003110| 65 20 76 6f 6c 75 6d 65 | 20 69 74 d5 73 20 6f 6e |e volume| it.s on|
|00003120| 2e 20 41 20 76 6f 6c 75 | 6d 65 20 69 73 20 61 20 |. A volu|me is a |
|00003130| 70 6f 72 74 69 6f 6e 20 | 6f 66 20 61 20 73 74 6f |portion |of a sto|
|00003140| 72 61 67 65 20 64 65 76 | 69 63 65 20 74 68 61 74 |rage dev|ice that|
|00003150| 20 69 73 20 66 6f 72 6d | 61 74 74 65 64 20 74 6f | is form|atted to|
|00003160| 20 63 6f 6e 74 61 69 6e | 20 66 69 6c 65 73 2e 20 | contain| files. |
|00003170| 41 20 76 6f 6c 75 6d 65 | 20 63 61 6e 20 62 65 20 |A volume| can be |
|00003180| 61 6e 20 65 6e 74 69 72 | 65 20 64 69 73 6b 20 6f |an entir|e disk o|
|00003190| 72 20 6f 6e 6c 79 20 61 | 20 70 61 72 74 20 6f 66 |r only a| part of|
|000031a0| 20 61 20 64 69 73 6b 2e | 20 41 20 33 2e 35 2d 69 | a disk.| A 3.5-i|
|000031b0| 6e 63 68 20 66 6c 6f 70 | 70 79 20 64 69 73 6b 2c |nch flop|py disk,|
|000031c0| 20 66 6f 72 20 69 6e 73 | 74 61 6e 63 65 2c 20 69 | for ins|tance, i|
|000031d0| 73 20 61 6c 77 61 79 73 | 20 66 6f 72 6d 61 74 74 |s always| formatt|
|000031e0| 65 64 20 61 73 20 6f 6e | 65 20 76 6f 6c 75 6d 65 |ed as on|e volume|
|000031f0| 2e 20 4f 74 68 65 72 20 | 6d 65 6d 6f 72 79 20 64 |. Other |memory d|
|00003200| 65 76 69 63 65 73 20 73 | 75 63 68 20 61 73 20 68 |evices s|uch as h|
|00003210| 61 72 64 20 64 69 73 6b | 73 20 61 6e 64 20 66 69 |ard disk|s and fi|
|00003220| 6c 65 20 73 65 72 76 65 | 72 73 20 63 61 6e 20 63 |le serve|rs can c|
|00003230| 6f 6e 74 61 69 6e 20 6d | 75 6c 74 69 70 6c 65 20 |ontain m|ultiple |
|00003240| 76 6f 6c 75 6d 65 73 2e | 0d 41 63 74 75 61 6c 6c |volumes.|.Actuall|
|00003250| 79 2c 20 61 20 66 69 6c | 65 20 6f 6e 20 61 6e 20 |y, a fil|e on an |
|00003260| 48 46 53 20 76 6f 6c 75 | 6d 65 20 63 61 6e 20 62 |HFS volu|me can b|
|00003270| 65 20 61 73 20 6c 61 72 | 67 65 20 61 73 20 32 20 |e as lar|ge as 2 |
|00003280| 47 42 20 28 24 37 46 46 | 46 46 46 46 46 20 62 79 |GB ($7FF|FFFFF by|
|00003290| 74 65 73 29 2e 20 4d 6f | 73 74 20 76 6f 6c 75 6d |tes). Mo|st volum|
|000032a0| 65 73 20 61 72 65 20 6e | 6f 74 20 6c 61 72 67 65 |es are n|ot large|
|000032b0| 20 65 6e 6f 75 67 68 20 | 74 6f 20 68 6f 6c 64 20 | enough |to hold |
|000032c0| 61 20 66 69 6c 65 20 74 | 68 61 74 20 73 69 7a 65 |a file t|hat size|
|000032d0| 2e 20 41 6e 20 48 46 53 | 20 76 6f 6c 75 6d 65 20 |. An HFS| volume |
|000032e0| 63 61 6e 20 62 65 20 61 | 73 20 6c 61 72 67 65 20 |can be a|s large |
|000032f0| 61 73 20 32 36 32 2c 31 | 34 34 20 47 42 2e 3c 33 |as 262,1|44 GB.<3|
|00003300| 36 70 74 5c 3e 5c 78 31 | 32 20 3c 38 62 61 74 5c |6pt\>\x1|2 <8bat\|
|00003310| 3e 75 0d 54 68 65 20 73 | 69 7a 65 20 6f 66 20 61 |>u.The s|ize of a|
|00003320| 20 76 6f 6c 75 6d 65 20 | 76 61 72 69 65 73 20 66 | volume |varies f|
|00003330| 72 6f 6d 20 6f 6e 65 20 | 74 79 70 65 20 6f 66 20 |rom one |type of |
|00003340| 64 65 76 69 63 65 20 74 | 6f 20 61 6e 6f 74 68 65 |device t|o anothe|
|00003350| 72 2e 20 56 6f 6c 75 6d | 65 73 20 61 72 65 20 66 |r. Volum|es are f|
|00003360| 6f 72 6d 61 74 74 65 64 | 20 69 6e 74 6f 20 63 68 |ormatted| into ch|
|00003370| 75 6e 6b 73 20 6b 6e 6f | 77 6e 20 61 73 20 6c 6f |unks kno|wn as lo|
|00003380| 67 69 63 61 6c 20 62 6c | 6f 63 6b 73 2c 20 65 61 |gical bl|ocks, ea|
|00003390| 63 68 20 6f 66 20 77 68 | 69 63 68 20 63 61 6e 20 |ch of wh|ich can |
|000033a0| 63 6f 6e 74 61 69 6e 20 | 75 70 20 74 6f 20 35 31 |contain |up to 51|
|000033b0| 32 20 62 79 74 65 73 2e | 20 41 20 64 6f 75 62 6c |2 bytes.| A doubl|
|000033c0| 65 2d 73 69 64 65 64 20 | 33 2e 35 2d 69 6e 63 68 |e-sided |3.5-inch|
|000033d0| 20 66 6c 6f 70 70 79 20 | 64 69 73 6b 2c 20 66 6f | floppy |disk, fo|
|000033e0| 72 20 69 6e 73 74 61 6e | 63 65 2c 20 75 73 75 61 |r instan|ce, usua|
|000033f0| 6c 6c 79 20 68 61 73 20 | 31 36 30 30 20 6c 6f 67 |lly has |1600 log|
|00003400| 69 63 61 6c 20 62 6c 6f | 63 6b 73 2c 20 6f 72 20 |ical blo|cks, or |
|00003410| 38 30 30 20 4b 42 2e 0d | 47 65 6e 65 72 61 6c 6c |800 KB..|Generall|
|00003420| 79 2c 20 68 6f 77 65 76 | 65 72 2c 20 74 68 65 20 |y, howev|er, the |
|00003430| 73 69 7a 65 20 6f 66 20 | 61 20 6c 6f 67 69 63 61 |size of |a logica|
|00003440| 6c 20 62 6c 6f 63 6b 20 | 6f 6e 20 61 20 76 6f 6c |l block |on a vol|
|00003450| 75 6d 65 20 69 73 20 6f | 66 20 69 6e 74 65 72 65 |ume is o|f intere|
|00003460| 73 74 20 6f 6e 6c 79 20 | 74 6f 20 74 68 65 20 64 |st only |to the d|
|00003470| 69 73 6b 20 64 65 76 69 | 63 65 20 64 72 69 76 65 |isk devi|ce drive|
|00003480| 72 2e 20 54 68 69 73 20 | 69 73 20 62 65 63 61 75 |r. This |is becau|
|00003490| 73 65 20 74 68 65 20 46 | 69 6c 65 20 4d 61 6e 61 |se the F|ile Mana|
|000034a0| 67 65 72 20 61 6c 77 61 | 79 73 20 61 6c 6c 6f 63 |ger alwa|ys alloc|
|000034b0| 61 74 65 73 20 73 70 61 | 63 65 20 74 6f 20 61 20 |ates spa|ce to a |
|000034c0| 66 69 6c 65 20 69 6e 20 | 75 6e 69 74 73 20 63 61 |file in |units ca|
|000034d0| 6c 6c 65 64 20 61 6c 6c | 6f 63 61 74 69 6f 6e 20 |lled all|ocation |
|000034e0| 62 6c 6f 63 6b 73 2e 20 | 41 6e 20 61 6c 6c 6f 63 |blocks. |An alloc|
|000034f0| 61 74 69 6f 6e 20 62 6c | 6f 63 6b 20 69 73 20 61 |ation bl|ock is a|
|00003500| 20 67 72 6f 75 70 20 6f | 66 20 63 6f 6e 73 65 63 | group o|f consec|
|00003510| 75 74 69 76 65 20 6c 6f | 67 69 63 61 6c 20 62 6c |utive lo|gical bl|
|00003520| 6f 63 6b 73 2e 20 54 68 | 65 20 46 69 6c 65 20 4d |ocks. Th|e File M|
|00003530| 61 6e 61 67 65 72 20 63 | 61 6e 20 61 63 63 65 73 |anager c|an acces|
|00003540| 73 20 61 20 6d 61 78 69 | 6d 75 6d 20 6f 66 20 36 |s a maxi|mum of 6|
|00003550| 35 2c 35 33 35 20 61 6c | 6c 6f 63 61 74 69 6f 6e |5,535 al|location|
|00003560| 20 62 6c 6f 63 6b 73 20 | 6f 6e 20 61 6e 79 20 76 | blocks |on any v|
|00003570| 6f 6c 75 6d 65 2e 20 46 | 6f 72 20 73 6d 61 6c 6c |olume. F|or small|
|00003580| 20 76 6f 6c 75 6d 65 73 | 2c 20 73 75 63 68 20 61 | volumes|, such a|
|00003590| 73 20 76 6f 6c 75 6d 65 | 73 20 6f 6e 20 66 6c 6f |s volume|s on flo|
|000035a0| 70 70 79 20 64 69 73 6b | 73 2c 20 74 68 65 20 46 |ppy disk|s, the F|
|000035b0| 69 6c 65 20 4d 61 6e 61 | 67 65 72 20 75 73 65 73 |ile Mana|ger uses|
|000035c0| 20 61 6e 20 61 6c 6c 6f | 63 61 74 69 6f 6e 20 62 | an allo|cation b|
|000035d0| 6c 6f 63 6b 20 73 69 7a | 65 20 6f 66 20 31 20 6c |lock siz|e of 1 l|
|000035e0| 6f 67 69 63 61 6c 20 62 | 6c 6f 63 6b 2e 20 54 6f |ogical b|lock. To|
|000035f0| 20 73 75 70 70 6f 72 74 | 20 76 6f 6c 75 6d 65 73 | support| volumes|
|00003600| 20 6c 61 72 67 65 72 20 | 74 68 61 6e 20 61 62 6f | larger |than abo|
|00003610| 75 74 20 33 32 20 4d 42 | 2c 20 74 68 65 20 46 69 |ut 32 MB|, the Fi|
|00003620| 6c 65 20 4d 61 6e 61 67 | 65 72 20 6e 65 65 64 73 |le Manag|er needs|
|00003630| 20 74 6f 20 75 73 65 20 | 61 6e 20 61 6c 6c 6f 63 | to use |an alloc|
|00003640| 61 74 69 6f 6e 20 62 6c | 6f 63 6b 20 73 69 7a 65 |ation bl|ock size|
|00003650| 20 74 68 61 74 20 69 73 | 20 61 74 20 6c 65 61 73 | that is| at leas|
|00003660| 74 20 32 20 6c 6f 67 69 | 63 61 6c 20 62 6c 6f 63 |t 2 logi|cal bloc|
|00003670| 6b 73 2e 20 54 6f 20 73 | 75 70 70 6f 72 74 20 76 |ks. To s|upport v|
|00003680| 6f 6c 75 6d 65 73 20 6c | 61 72 67 65 72 20 74 68 |olumes l|arger th|
|00003690| 61 6e 20 61 62 6f 75 74 | 20 36 34 20 4d 42 2c 20 |an about| 64 MB, |
|000036a0| 74 68 65 20 46 69 6c 65 | 20 4d 61 6e 61 67 65 72 |the File| Manager|
|000036b0| 20 6e 65 65 64 73 20 74 | 6f 20 75 73 65 20 61 6e | needs t|o use an|
|000036c0| 20 61 6c 6c 6f 63 61 74 | 69 6f 6e 20 62 6c 6f 63 | allocat|ion bloc|
|000036d0| 6b 20 74 68 61 74 20 69 | 73 20 61 74 20 6c 65 61 |k that i|s at lea|
|000036e0| 73 74 20 33 20 61 6c 6c | 6f 63 61 74 69 6f 6e 20 |st 3 all|ocation |
|000036f0| 62 6c 6f 63 6b 73 2e 20 | 49 6e 20 74 68 69 73 20 |blocks. |In this |
|00003700| 77 61 79 2c 20 62 79 20 | 70 72 6f 67 72 65 73 73 |way, by |progress|
|00003710| 69 76 65 6c 79 20 69 6e | 63 72 65 61 73 69 6e 67 |ively in|creasing|
|00003720| 20 74 68 65 20 6e 75 6d | 62 65 72 20 6f 66 20 6c | the num|ber of l|
|00003730| 6f 67 69 63 61 6c 20 62 | 6c 6f 63 6b 73 20 69 6e |ogical b|locks in|
|00003740| 20 61 6e 20 61 6c 6c 6f | 63 61 74 69 6f 6e 20 62 | an allo|cation b|
|00003750| 6c 6f 63 6b 2c 20 74 68 | 65 20 46 69 6c 65 20 4d |lock, th|e File M|
|00003760| 61 6e 61 67 65 72 20 63 | 61 6e 20 68 61 6e 64 6c |anager c|an handl|
|00003770| 65 20 6c 61 72 67 65 72 | 20 61 6e 64 20 6c 61 72 |e larger| and lar|
|00003780| 67 65 72 20 76 6f 6c 75 | 6d 65 73 2e 20 46 69 67 |ger volu|mes. Fig|
|00003790| 75 72 65 20 31 2d 32 20 | 69 6c 6c 75 73 74 72 61 |ure 1-2 |illustra|
|000037a0| 74 65 73 20 68 6f 77 20 | 6c 6f 67 69 63 61 6c 20 |tes how |logical |
|000037b0| 62 6c 6f 63 6b 73 20 61 | 72 65 20 67 72 6f 75 70 |blocks a|re group|
|000037c0| 65 64 20 69 6e 74 6f 20 | 61 6c 6c 6f 63 61 74 69 |ed into |allocati|
|000037d0| 6f 6e 20 62 6c 6f 63 6b | 73 2e 20 0d 4c 6f 67 69 |on block|s. .Logi|
|000037e0| 63 61 6c 20 62 6c 6f 63 | 6b 73 20 61 6e 64 20 61 |cal bloc|ks and a|
|000037f0| 6c 6c 6f 63 61 74 69 6f | 6e 20 62 6c 6f 63 6b 73 |llocatio|n blocks|
|00003800| 0d 54 68 65 20 73 69 7a | 65 20 6f 66 20 74 68 65 |.The siz|e of the|
|00003810| 20 61 6c 6c 6f 63 61 74 | 69 6f 6e 20 62 6c 6f 63 | allocat|ion bloc|
|00003820| 6b 73 20 6f 6e 20 61 20 | 76 6f 6c 75 6d 65 20 69 |ks on a |volume i|
|00003830| 73 20 64 65 74 65 72 6d | 69 6e 65 64 20 77 68 65 |s determ|ined whe|
|00003840| 6e 20 74 68 65 20 76 6f | 6c 75 6d 65 20 69 73 20 |n the vo|lume is |
|00003850| 69 6e 69 74 69 61 6c 69 | 7a 65 64 20 61 6e 64 20 |initiali|zed and |
|00003860| 64 65 70 65 6e 64 73 20 | 6f 6e 20 74 68 65 20 6e |depends |on the n|
|00003870| 75 6d 62 65 72 20 6f 66 | 20 6c 6f 67 69 63 61 6c |umber of| logical|
|00003880| 20 62 6c 6f 63 6b 73 20 | 69 74 20 63 6f 6e 74 61 | blocks |it conta|
|00003890| 69 6e 73 2e 20 49 6e 20 | 67 65 6e 65 72 61 6c 2c |ins. In |general,|
|000038a0| 20 74 68 65 20 44 69 73 | 6b 20 49 6e 69 74 69 61 | the Dis|k Initia|
|000038b0| 6c 69 7a 61 74 69 6f 6e | 20 50 61 63 6b 61 67 65 |lization| Package|
|000038c0| 20 75 73 65 73 20 74 68 | 65 20 73 6d 61 6c 6c 65 | uses th|e smalle|
|000038d0| 73 74 20 61 6c 6c 6f 63 | 61 74 69 6f 6e 20 62 6c |st alloc|ation bl|
|000038e0| 6f 63 6b 20 73 69 7a 65 | 20 74 68 61 74 20 77 69 |ock size| that wi|
|000038f0| 6c 6c 20 61 6c 6c 6f 77 | 20 74 68 65 20 46 69 6c |ll allow| the Fil|
|00003900| 65 20 4d 61 6e 61 67 65 | 72 20 74 6f 20 61 64 64 |e Manage|r to add|
|00003910| 72 65 73 73 20 74 68 65 | 20 65 6e 74 69 72 65 20 |ress the| entire |
|00003920| 76 6f 6c 75 6d 65 2e 20 | 41 20 6e 6f 6e 2d 65 6d |volume. |A non-em|
|00003930| 70 74 79 20 66 69 6c 65 | 20 66 6f 72 6b 20 61 6c |pty file| fork al|
|00003940| 77 61 79 73 20 6f 63 63 | 75 70 69 65 73 20 61 74 |ways occ|upies at|
|00003950| 20 6c 65 61 73 74 20 6f | 6e 65 20 61 6c 6c 6f 63 | least o|ne alloc|
|00003960| 61 74 69 6f 6e 20 62 6c | 6f 63 6b 2c 20 6e 6f 20 |ation bl|ock, no |
|00003970| 6d 61 74 74 65 72 20 68 | 6f 77 20 6d 61 6e 79 20 |matter h|ow many |
|00003980| 62 79 74 65 73 20 6f 66 | 20 64 61 74 61 20 74 68 |bytes of| data th|
|00003990| 61 74 20 66 69 6c 65 20 | 66 6f 72 6b 20 63 6f 6e |at file |fork con|
|000039a0| 74 61 69 6e 73 2e 20 4f | 6e 20 61 20 34 30 2d 4d |tains. O|n a 40-M|
|000039b0| 42 20 76 6f 6c 75 6d 65 | 2c 20 66 6f 72 20 65 78 |B volume|, for ex|
|000039c0| 61 6d 70 6c 65 2c 20 61 | 20 66 69 6c 65 d5 73 20 |ample, a| file.s |
|000039d0| 64 61 74 61 20 66 6f 72 | 6b 20 6f 63 63 75 70 69 |data for|k occupi|
|000039e0| 65 73 20 61 74 20 6c 65 | 61 73 74 20 31 30 32 34 |es at le|ast 1024|
|000039f0| 20 62 79 74 65 73 20 28 | 74 68 61 74 20 69 73 2c | bytes (|that is,|
|00003a00| 20 32 20 6c 6f 67 69 63 | 61 6c 20 62 6c 6f 63 6b | 2 logic|al block|
|00003a10| 73 29 2c 20 65 76 65 6e | 20 69 66 20 69 74 20 63 |s), even| if it c|
|00003a20| 6f 6e 74 61 69 6e 73 20 | 6f 6e 6c 79 20 31 31 20 |ontains |only 11 |
|00003a30| 62 79 74 65 73 20 6f 66 | 20 61 63 74 75 61 6c 20 |bytes of| actual |
|00003a40| 64 61 74 61 2e 0d 54 6f | 20 64 69 73 74 69 6e 67 |data..To| disting|
|00003a50| 75 69 73 68 20 62 65 74 | 77 65 65 6e 20 74 68 65 |uish bet|ween the|
|00003a60| 20 61 6d 6f 75 6e 74 20 | 6f 66 20 73 70 61 63 65 | amount |of space|
|00003a70| 20 61 6c 6c 6f 63 61 74 | 65 64 20 74 6f 20 61 20 | allocat|ed to a |
|00003a80| 66 69 6c 65 20 61 6e 64 | 20 74 68 65 20 6e 75 6d |file and| the num|
|00003a90| 62 65 72 20 6f 66 20 62 | 79 74 65 73 20 6f 66 20 |ber of b|ytes of |
|00003aa0| 61 63 74 75 61 6c 20 64 | 61 74 61 20 69 6e 20 74 |actual d|ata in t|
|00003ab0| 68 65 20 66 69 6c 65 2c | 20 74 77 6f 20 6e 75 6d |he file,| two num|
|00003ac0| 62 65 72 73 20 61 72 65 | 20 75 73 65 64 20 74 6f |bers are| used to|
|00003ad0| 20 64 65 73 63 72 69 62 | 65 20 74 68 65 20 73 69 | describ|e the si|
|00003ae0| 7a 65 20 6f 66 20 61 20 | 66 69 6c 65 2e 20 54 68 |ze of a |file. Th|
|00003af0| 65 20 70 68 79 73 69 63 | 61 6c 20 65 6e 64 2d 6f |e physic|al end-o|
|00003b00| 66 2d 66 69 6c 65 20 69 | 73 20 74 68 65 20 6e 75 |f-file i|s the nu|
|00003b10| 6d 62 65 72 20 6f 66 20 | 62 79 74 65 73 20 63 75 |mber of |bytes cu|
|00003b20| 72 72 65 6e 74 6c 79 20 | 61 6c 6c 6f 63 61 74 65 |rrently |allocate|
|00003b30| 64 20 74 6f 20 74 68 65 | 20 66 69 6c 65 3b 20 69 |d to the| file; i|
|00003b40| 74 d5 73 20 31 20 67 72 | 65 61 74 65 72 20 74 68 |t.s 1 gr|eater th|
|00003b50| 61 6e 20 74 68 65 20 6e | 75 6d 62 65 72 20 6f 66 |an the n|umber of|
|00003b60| 20 74 68 65 20 6c 61 73 | 74 20 62 79 74 65 20 69 | the las|t byte i|
|00003b70| 6e 20 69 74 73 20 6c 61 | 73 74 20 61 6c 6c 6f 63 |n its la|st alloc|
|00003b80| 61 74 69 6f 6e 20 62 6c | 6f 63 6b 20 28 73 69 6e |ation bl|ock (sin|
|00003b90| 63 65 20 74 68 65 20 66 | 69 72 73 74 20 62 79 74 |ce the f|irst byt|
|00003ba0| 65 20 69 73 20 62 79 74 | 65 20 6e 75 6d 62 65 72 |e is byt|e number|
|00003bb0| 20 30 29 2e 20 41 73 20 | 61 20 72 65 73 75 6c 74 | 0). As |a result|
|00003bc0| 2c 20 74 68 65 20 70 68 | 79 73 69 63 61 6c 20 65 |, the ph|ysical e|
|00003bd0| 6e 64 2d 6f 66 2d 66 69 | 6c 65 20 69 73 20 61 6c |nd-of-fi|le is al|
|00003be0| 77 61 79 73 20 61 6e 20 | 65 78 61 63 74 20 6d 75 |ways an |exact mu|
|00003bf0| 6c 74 69 70 6c 65 20 6f | 66 20 74 68 65 20 61 6c |ltiple o|f the al|
|00003c00| 6c 6f 63 61 74 69 6f 6e | 20 62 6c 6f 63 6b 20 73 |location| block s|
|00003c10| 69 7a 65 2e 20 54 68 65 | 20 6c 6f 67 69 63 61 6c |ize. The| logical|
|00003c20| 20 65 6e 64 2d 6f 66 2d | 66 69 6c 65 20 69 73 20 | end-of-|file is |
|00003c30| 74 68 65 20 6e 75 6d 62 | 65 72 20 6f 66 20 74 68 |the numb|er of th|
|00003c40| 6f 73 65 20 61 6c 6c 6f | 63 61 74 65 64 20 62 79 |ose allo|cated by|
|00003c50| 74 65 73 20 74 68 61 74 | 20 63 75 72 72 65 6e 74 |tes that| current|
|00003c60| 6c 79 20 63 6f 6e 74 61 | 69 6e 20 64 61 74 61 3b |ly conta|in data;|
|00003c70| 20 69 74 d5 73 20 31 20 | 67 72 65 61 74 65 72 20 | it.s 1 |greater |
|00003c80| 74 68 61 6e 20 74 68 65 | 20 6e 75 6d 62 65 72 20 |than the| number |
|00003c90| 6f 66 20 74 68 65 20 6c | 61 73 74 20 62 79 74 65 |of the l|ast byte|
|00003ca0| 20 69 6e 20 74 68 65 20 | 66 69 6c 65 20 74 68 61 | in the |file tha|
|00003cb0| 74 20 63 6f 6e 74 61 69 | 6e 73 20 64 61 74 61 2e |t contai|ns data.|
|00003cc0| 20 46 6f 72 20 65 78 61 | 6d 70 6c 65 2c 20 6f 6e | For exa|mple, on|
|00003cd0| 20 61 20 76 6f 6c 75 6d | 65 20 68 61 76 69 6e 67 | a volum|e having|
|00003ce0| 20 61 6e 20 61 6c 6c 6f | 63 61 74 69 6f 6e 20 62 | an allo|cation b|
|00003cf0| 6c 6f 63 6b 20 73 69 7a | 65 20 6f 66 20 74 77 6f |lock siz|e of two|
|00003d00| 20 6c 6f 67 69 63 61 6c | 20 62 6c 6f 63 6b 73 20 | logical| blocks |
|00003d10| 28 74 68 61 74 20 69 73 | 2c 20 31 30 32 34 20 62 |(that is|, 1024 b|
|00003d20| 79 74 65 73 29 2c 20 61 | 20 66 69 6c 65 20 77 69 |ytes), a| file wi|
|00003d30| 74 68 20 35 30 38 20 62 | 79 74 65 73 20 6f 66 20 |th 508 b|ytes of |
|00003d40| 64 61 74 61 20 68 61 73 | 20 61 20 6c 6f 67 69 63 |data has| a logic|
|00003d50| 61 6c 20 65 6e 64 2d 6f | 66 2d 66 69 6c 65 20 6f |al end-o|f-file o|
|00003d60| 66 20 35 30 39 20 61 6e | 64 20 61 20 70 68 79 73 |f 509 an|d a phys|
|00003d70| 69 63 61 6c 20 65 6e 64 | 2d 6f 66 2d 66 69 6c 65 |ical end|-of-file|
|00003d80| 20 6f 66 20 31 30 32 34 | 20 28 73 65 65 20 46 69 | of 1024| (see Fi|
|00003d90| 67 75 72 65 20 31 2d 33 | 29 2e 0d 4c 6f 67 69 63 |gure 1-3|)..Logic|
|00003da0| 61 6c 20 61 6e 64 20 70 | 68 79 73 69 63 61 6c 20 |al and p|hysical |
|00003db0| 65 6e 64 2d 6f 66 2d 66 | 69 6c 65 0d 59 6f 75 20 |end-of-f|ile.You |
|00003dc0| 63 61 6e 20 6d 6f 76 65 | 20 74 68 65 20 6c 6f 67 |can move| the log|
|00003dd0| 69 63 61 6c 20 65 6e 64 | 2d 6f 66 2d 66 69 6c 65 |ical end|-of-file|
|00003de0| 20 74 6f 20 61 64 6a 75 | 73 74 20 74 68 65 20 73 | to adju|st the s|
|00003df0| 69 7a 65 20 6f 66 20 74 | 68 65 20 66 69 6c 65 2e |ize of t|he file.|
|00003e00| 20 57 68 65 6e 20 74 68 | 65 20 6c 6f 67 69 63 61 | When th|e logica|
|00003e10| 6c 20 65 6e 64 2d 6f 66 | 2d 66 69 6c 65 20 69 73 |l end-of|-file is|
|00003e20| 20 6d 6f 76 65 64 20 74 | 6f 20 61 20 70 6f 73 69 | moved t|o a posi|
|00003e30| 74 69 6f 6e 20 6d 6f 72 | 65 20 74 68 61 6e 20 6f |tion mor|e than o|
|00003e40| 6e 65 20 61 6c 6c 6f 63 | 61 74 69 6f 6e 20 62 6c |ne alloc|ation bl|
|00003e50| 6f 63 6b 20 73 68 6f 72 | 74 20 6f 66 20 74 68 65 |ock shor|t of the|
|00003e60| 20 63 75 72 72 65 6e 74 | 20 70 68 79 73 69 63 61 | current| physica|
|00003e70| 6c 20 65 6e 64 2d 6f 66 | 2d 66 69 6c 65 2c 20 74 |l end-of|-file, t|
|00003e80| 68 65 20 46 69 6c 65 20 | 4d 61 6e 61 67 65 72 20 |he File |Manager |
|00003e90| 61 75 74 6f 6d 61 74 69 | 63 61 6c 6c 79 20 64 65 |automati|cally de|
|00003ea0| 6c 65 74 65 73 20 74 68 | 65 20 75 6e 6e 65 65 64 |letes th|e unneed|
|00003eb0| 65 64 20 61 6c 6c 6f 63 | 61 74 69 6f 6e 20 62 6c |ed alloc|ation bl|
|00003ec0| 6f 63 6b 20 66 72 6f 6d | 20 74 68 65 20 66 69 6c |ock from| the fil|
|00003ed0| 65 2e 20 53 69 6d 69 6c | 61 72 6c 79 2c 20 79 6f |e. Simil|arly, yo|
|00003ee0| 75 20 63 61 6e 20 69 6e | 63 72 65 61 73 65 20 74 |u can in|crease t|
|00003ef0| 68 65 20 73 69 7a 65 20 | 6f 66 20 61 20 66 69 6c |he size |of a fil|
|00003f00| 65 20 62 79 20 6d 6f 76 | 69 6e 67 20 74 68 65 20 |e by mov|ing the |
|00003f10| 6c 6f 67 69 63 61 6c 20 | 65 6e 64 2d 6f 66 2d 66 |logical |end-of-f|
|00003f20| 69 6c 65 20 70 61 73 74 | 20 74 68 65 20 70 68 79 |ile past| the phy|
|00003f30| 73 69 63 61 6c 20 65 6e | 64 2d 6f 66 2d 66 69 6c |sical en|d-of-fil|
|00003f40| 65 2e 20 57 68 65 6e 20 | 74 68 65 20 6c 6f 67 69 |e. When |the logi|
|00003f50| 63 61 6c 20 65 6e 64 2d | 6f 66 2d 66 69 6c 65 20 |cal end-|of-file |
|00003f60| 69 73 20 6d 6f 76 65 64 | 20 70 61 73 74 20 74 68 |is moved| past th|
|00003f70| 65 20 70 68 79 73 69 63 | 61 6c 20 65 6e 64 2d 6f |e physic|al end-o|
|00003f80| 66 2d 66 69 6c 65 2c 20 | 74 68 65 20 46 69 6c 65 |f-file, |the File|
|00003f90| 20 4d 61 6e 61 67 65 72 | 20 61 75 74 6f 6d 61 74 | Manager| automat|
|00003fa0| 69 63 61 6c 6c 79 20 61 | 64 64 73 20 6f 6e 65 20 |ically a|dds one |
|00003fb0| 6f 72 20 6d 6f 72 65 20 | 61 6c 6c 6f 63 61 74 69 |or more |allocati|
|00003fc0| 6f 6e 20 62 6c 6f 63 6b | 73 20 74 6f 20 74 68 65 |on block|s to the|
|00003fd0| 20 66 69 6c 65 2e 20 54 | 68 65 20 6e 75 6d 62 65 | file. T|he numbe|
|00003fe0| 72 20 6f 66 20 61 6c 6c | 6f 63 61 74 69 6f 6e 20 |r of all|ocation |
|00003ff0| 62 6c 6f 63 6b 73 20 61 | 64 64 65 64 20 74 6f 20 |blocks a|dded to |
|00004000| 74 68 65 20 66 69 6c 65 | 20 69 73 20 64 65 74 65 |the file| is dete|
|00004010| 72 6d 69 6e 65 64 20 62 | 79 20 74 68 65 20 76 6f |rmined b|y the vo|
|00004020| 6c 75 6d 65 d5 73 20 63 | 6c 75 6d 70 20 73 69 7a |lume.s c|lump siz|
|00004030| 65 2e 20 41 20 63 6c 75 | 6d 70 20 69 73 20 61 20 |e. A clu|mp is a |
|00004040| 67 72 6f 75 70 20 6f 66 | 20 63 6f 6e 74 69 67 75 |group of| contigu|
|00004050| 6f 75 73 20 61 6c 6c 6f | 63 61 74 69 6f 6e 20 62 |ous allo|cation b|
|00004060| 6c 6f 63 6b 73 2e 20 54 | 68 65 20 70 75 72 70 6f |locks. T|he purpo|
|00004070| 73 65 20 6f 66 20 61 6c | 77 61 79 73 20 65 6e 6c |se of al|ways enl|
|00004080| 61 72 67 69 6e 67 20 66 | 69 6c 65 73 20 62 79 20 |arging f|iles by |
|00004090| 61 64 64 69 6e 67 20 63 | 6c 75 6d 70 73 20 69 73 |adding c|lumps is|
|000040a0| 20 74 6f 20 72 65 64 75 | 63 65 20 66 69 6c 65 20 | to redu|ce file |
|000040b0| 66 72 61 67 6d 65 6e 74 | 61 74 69 6f 6e 20 6f 6e |fragment|ation on|
|000040c0| 20 61 20 76 6f 6c 75 6d | 65 20 61 6e 64 20 68 65 | a volum|e and he|
|000040d0| 6e 63 65 20 69 6d 70 72 | 6f 76 65 20 74 68 65 20 |nce impr|ove the |
|000040e0| 65 66 66 69 63 69 65 6e | 63 79 20 6f 66 20 72 65 |efficien|cy of re|
|000040f0| 61 64 69 6e 67 20 61 6e | 64 20 77 72 69 74 69 6e |ading an|d writin|
|00004100| 67 20 66 69 6c 65 20 64 | 61 74 61 2e 0d 46 69 6c |g file d|ata..Fil|
|00004110| 65 20 41 63 63 65 73 73 | 20 43 68 61 72 61 63 74 |e Access| Charact|
|00004120| 65 72 69 73 74 69 63 73 | 0d 41 20 66 69 6c 65 20 |eristics|.A file |
|00004130| 63 61 6e 20 62 65 20 6f | 70 65 6e 20 6f 72 20 63 |can be o|pen or c|
|00004140| 6c 6f 73 65 64 2e 20 59 | 6f 75 72 20 61 70 70 6c |losed. Y|our appl|
|00004150| 69 63 61 74 69 6f 6e 20 | 63 61 6e 20 70 65 72 66 |ication |can perf|
|00004160| 6f 72 6d 20 63 65 72 74 | 61 69 6e 20 6f 70 65 72 |orm cert|ain oper|
|00004170| 61 74 69 6f 6e 73 2c 20 | 73 75 63 68 20 61 73 20 |ations, |such as |
|00004180| 72 65 61 64 69 6e 67 20 | 61 6e 64 20 77 72 69 74 |reading |and writ|
|00004190| 69 6e 67 20 64 61 74 61 | 2c 20 6f 6e 6c 79 20 6f |ing data|, only o|
|000041a0| 6e 20 6f 70 65 6e 20 66 | 69 6c 65 73 2e 20 49 74 |n open f|iles. It|
|000041b0| 20 63 61 6e 20 70 65 72 | 66 6f 72 6d 20 6f 74 68 | can per|form oth|
|000041c0| 65 72 20 6f 70 65 72 61 | 74 69 6f 6e 73 2c 20 73 |er opera|tions, s|
|000041d0| 75 63 68 20 61 73 20 64 | 65 6c 65 74 69 6e 67 2c |uch as d|eleting,|
|000041e0| 20 6f 6e 6c 79 20 6f 6e | 20 63 6c 6f 73 65 64 20 | only on| closed |
|000041f0| 66 69 6c 65 73 2e 20 0d | 57 68 65 6e 20 79 6f 75 |files. .|When you|
|00004200| 20 6f 70 65 6e 20 61 20 | 66 69 6c 65 2c 20 74 68 | open a |file, th|
|00004210| 65 20 46 69 6c 65 20 4d | 61 6e 61 67 65 72 20 72 |e File M|anager r|
|00004220| 65 61 64 73 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |eads inf|ormation|
|00004230| 20 61 62 6f 75 74 20 74 | 68 65 20 66 69 6c 65 20 | about t|he file |
|00004240| 66 72 6f 6d 20 69 74 73 | 20 76 6f 6c 75 6d 65 20 |from its| volume |
|00004250| 61 6e 64 20 73 74 6f 72 | 65 73 20 74 68 61 74 20 |and stor|es that |
|00004260| 69 6e 66 6f 72 6d 61 74 | 69 6f 6e 20 69 6e 20 61 |informat|ion in a|
|00004270| 20 66 69 6c 65 20 63 6f | 6e 74 72 6f 6c 20 62 6c | file co|ntrol bl|
|00004280| 6f 63 6b 20 28 46 43 42 | 29 2e 20 54 68 65 20 46 |ock (FCB|). The F|
|00004290| 69 6c 65 20 4d 61 6e 61 | 67 65 72 20 61 6c 73 6f |ile Mana|ger also|
|000042a0| 20 63 72 65 61 74 65 73 | 20 61 6e 20 61 63 63 65 | creates| an acce|
|000042b0| 73 73 20 70 61 74 68 20 | 74 6f 20 74 68 65 20 66 |ss path |to the f|
|000042c0| 69 6c 65 2c 20 61 20 64 | 65 73 63 72 69 70 74 69 |ile, a d|escripti|
|000042d0| 6f 6e 20 6f 66 20 74 68 | 65 20 72 6f 75 74 65 20 |on of th|e route |
|000042e0| 74 6f 20 62 65 20 66 6f | 6c 6c 6f 77 65 64 20 77 |to be fo|llowed w|
|000042f0| 68 65 6e 20 61 63 63 65 | 73 73 69 6e 67 20 74 68 |hen acce|ssing th|
|00004300| 65 20 66 69 6c 65 2e 20 | 54 68 65 20 61 63 63 65 |e file. |The acce|
|00004310| 73 73 20 70 61 74 68 20 | 73 70 65 63 69 66 69 65 |ss path |specifie|
|00004320| 73 20 74 68 65 20 76 6f | 6c 75 6d 65 20 6f 6e 20 |s the vo|lume on |
|00004330| 77 68 69 63 68 20 74 68 | 65 20 66 69 6c 65 20 69 |which th|e file i|
|00004340| 73 20 6c 6f 63 61 74 65 | 64 20 61 6e 64 20 74 68 |s locate|d and th|
|00004350| 65 20 6c 6f 63 61 74 69 | 6f 6e 20 6f 66 20 74 68 |e locati|on of th|
|00004360| 65 20 66 69 6c 65 20 6f | 6e 20 74 68 65 20 76 6f |e file o|n the vo|
|00004370| 6c 75 6d 65 2e 20 45 61 | 63 68 20 61 63 63 65 73 |lume. Ea|ch acces|
|00004380| 73 20 70 61 74 68 20 69 | 73 20 61 73 73 69 67 6e |s path i|s assign|
|00004390| 65 64 20 61 20 75 6e 69 | 71 75 65 20 66 69 6c 65 |ed a uni|que file|
|000043a0| 20 72 65 66 65 72 65 6e | 63 65 20 6e 75 6d 62 65 | referen|ce numbe|
|000043b0| 72 20 28 73 6f 6d 65 20 | 6e 75 6d 62 65 72 20 67 |r (some |number g|
|000043c0| 72 65 61 74 65 72 20 74 | 68 61 6e 20 30 29 20 74 |reater t|han 0) t|
|000043d0| 68 61 74 20 79 6f 75 72 | 20 61 70 70 6c 69 63 61 |hat your| applica|
|000043e0| 74 69 6f 6e 20 75 73 65 | 73 20 74 6f 20 72 65 66 |tion use|s to ref|
|000043f0| 65 72 20 74 6f 20 69 74 | 2e 20 4d 75 6c 74 69 70 |er to it|. Multip|
|00004400| 6c 65 20 61 63 63 65 73 | 73 20 70 61 74 68 73 20 |le acces|s paths |
|00004410| 63 61 6e 20 62 65 20 6f | 70 65 6e 65 64 20 74 6f |can be o|pened to|
|00004420| 20 74 68 65 20 73 61 6d | 65 20 66 69 6c 65 2e 0d | the sam|e file..|
|00004430| 46 6f 72 20 65 61 63 68 | 20 6f 70 65 6e 20 61 63 |For each| open ac|
|00004440| 63 65 73 73 20 70 61 74 | 68 20 74 6f 20 61 20 66 |cess pat|h to a f|
|00004450| 69 6c 65 2c 20 74 68 65 | 20 46 69 6c 65 20 4d 61 |ile, the| File Ma|
|00004460| 6e 61 67 65 72 20 6d 61 | 69 6e 74 61 69 6e 73 20 |nager ma|intains |
|00004470| 61 20 63 75 72 72 65 6e | 74 20 70 6f 73 69 74 69 |a curren|t positi|
|00004480| 6f 6e 20 6d 61 72 6b 65 | 72 2c 20 63 61 6c 6c 65 |on marke|r, calle|
|00004490| 64 20 74 68 65 20 66 69 | 6c 65 20 6d 61 72 6b 2c |d the fi|le mark,|
|000044a0| 20 74 6f 20 6b 65 65 70 | 20 74 72 61 63 6b 20 6f | to keep| track o|
|000044b0| 66 20 77 68 65 72 65 20 | 69 74 20 69 73 20 69 6e |f where |it is in|
|000044c0| 20 74 68 65 20 66 69 6c | 65 20 64 75 72 69 6e 67 | the fil|e during|
|000044d0| 20 61 20 72 65 61 64 20 | 6f 72 20 77 72 69 74 65 | a read |or write|
|000044e0| 20 6f 70 65 72 61 74 69 | 6f 6e 2e 20 54 68 65 20 | operati|on. The |
|000044f0| 6d 61 72 6b 20 69 73 20 | 74 68 65 20 6e 75 6d 62 |mark is |the numb|
|00004500| 65 72 20 6f 66 20 74 68 | 65 20 6e 65 78 74 20 62 |er of th|e next b|
|00004510| 79 74 65 20 74 68 61 74 | 20 77 69 6c 6c 20 62 65 |yte that| will be|
|00004520| 20 72 65 61 64 20 6f 72 | 20 77 72 69 74 74 65 6e | read or| written|
|00004530| 3b 20 65 61 63 68 20 74 | 69 6d 65 20 61 20 62 79 |; each t|ime a by|
|00004540| 74 65 20 69 73 20 72 65 | 61 64 20 6f 72 20 77 72 |te is re|ad or wr|
|00004550| 69 74 74 65 6e 2c 20 74 | 68 65 20 6d 61 72 6b 20 |itten, t|he mark |
|00004560| 69 73 20 6d 6f 76 65 64 | 2e 20 57 68 65 6e 2c 20 |is moved|. When, |
|00004570| 64 75 72 69 6e 67 20 61 | 20 77 72 69 74 65 20 6f |during a| write o|
|00004580| 70 65 72 61 74 69 6f 6e | 2c 20 74 68 65 20 6d 61 |peration|, the ma|
|00004590| 72 6b 20 72 65 61 63 68 | 65 73 20 74 68 65 20 6e |rk reach|es the n|
|000045a0| 75 6d 62 65 72 20 6f 66 | 20 74 68 65 20 6c 61 73 |umber of| the las|
|000045b0| 74 20 62 79 74 65 20 63 | 75 72 72 65 6e 74 6c 79 |t byte c|urrently|
|000045c0| 20 61 6c 6c 6f 63 61 74 | 65 64 20 74 6f 20 74 68 | allocat|ed to th|
|000045d0| 65 20 66 69 6c 65 2c 20 | 74 68 65 20 46 69 6c 65 |e file, |the File|
|000045e0| 20 4d 61 6e 61 67 65 72 | 20 61 64 64 73 20 61 6e | Manager| adds an|
|000045f0| 6f 74 68 65 72 20 63 6c | 75 6d 70 20 74 6f 20 74 |other cl|ump to t|
|00004600| 68 65 20 66 69 6c 65 2e | 0d 59 6f 75 20 63 61 6e |he file.|.You can|
|00004610| 20 72 65 61 64 20 62 79 | 74 65 73 20 66 72 6f 6d | read by|tes from|
|00004620| 20 61 6e 64 20 77 72 69 | 74 65 20 62 79 74 65 73 | and wri|te bytes|
|00004630| 20 74 6f 20 61 20 66 69 | 6c 65 20 65 69 74 68 65 | to a fi|le eithe|
|00004640| 72 20 73 69 6e 67 6c 79 | 20 6f 72 20 69 6e 20 73 |r singly| or in s|
|00004650| 65 71 75 65 6e 63 65 73 | 20 6f 66 20 76 69 72 74 |equences| of virt|
|00004660| 75 61 6c 6c 79 20 75 6e | 6c 69 6d 69 74 65 64 20 |ually un|limited |
|00004670| 6c 65 6e 67 74 68 2e 20 | 59 6f 75 20 63 61 6e 20 |length. |You can |
|00004680| 73 70 65 63 69 66 79 20 | 77 68 65 72 65 20 65 61 |specify |where ea|
|00004690| 63 68 20 72 65 61 64 20 | 6f 72 20 77 72 69 74 65 |ch read |or write|
|000046a0| 20 6f 70 65 72 61 74 69 | 6f 6e 20 73 68 6f 75 6c | operati|on shoul|
|000046b0| 64 20 62 65 67 69 6e 20 | 62 79 20 73 65 74 74 69 |d begin |by setti|
|000046c0| 6e 67 20 74 68 65 20 6d | 61 72 6b 3b 20 69 66 20 |ng the m|ark; if |
|000046d0| 79 6f 75 20 64 6f 6e d5 | 74 2c 20 74 68 65 20 6f |you don.|t, the o|
|000046e0| 70 65 72 61 74 69 6f 6e | 20 62 65 67 69 6e 73 20 |peration| begins |
|000046f0| 61 74 20 74 68 65 20 62 | 79 74 65 20 61 74 20 77 |at the b|yte at w|
|00004700| 68 69 63 68 20 74 68 65 | 20 6d 61 72 6b 20 63 75 |hich the| mark cu|
|00004710| 72 72 65 6e 74 6c 79 20 | 70 6f 69 6e 74 73 2e 0d |rrently |points..|
|00004720| 45 61 63 68 20 74 69 6d | 65 20 79 6f 75 20 77 61 |Each tim|e you wa|
|00004730| 6e 74 20 74 6f 20 72 65 | 61 64 20 6f 72 20 77 72 |nt to re|ad or wr|
|00004740| 69 74 65 20 61 20 66 69 | 6c 65 d5 73 20 64 61 74 |ite a fi|le.s dat|
|00004750| 61 2c 20 79 6f 75 20 6e | 65 65 64 20 74 6f 20 70 |a, you n|eed to p|
|00004760| 61 73 73 20 74 68 65 20 | 61 64 64 72 65 73 73 20 |ass the |address |
|00004770| 6f 66 20 61 20 64 61 74 | 61 20 62 75 66 66 65 72 |of a dat|a buffer|
|00004780| 2c 20 61 20 70 61 72 74 | 20 6f 66 20 52 41 4d 20 |, a part| of RAM |
|00004790| 28 75 73 75 61 6c 6c 79 | 20 69 6e 20 79 6f 75 72 |(usually| in your|
|000047a0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e d5 73 20 68 | applica|tion.s h|
|000047b0| 65 61 70 29 20 74 68 65 | 20 46 69 6c 65 20 4d 61 |eap) the| File Ma|
|000047c0| 6e 61 67 65 72 20 75 73 | 65 73 20 74 6f 20 74 72 |nager us|es to tr|
|000047d0| 61 6e 73 66 65 72 20 74 | 68 65 20 64 61 74 61 20 |ansfer t|he data |
|000047e0| 74 6f 20 6f 72 20 66 72 | 6f 6d 20 79 6f 75 72 20 |to or fr|om your |
|000047f0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 2e 20 59 6f 75 |applicat|ion. You|
|00004800| 20 63 61 6e 20 75 73 65 | 20 61 20 73 69 6e 67 6c | can use| a singl|
|00004810| 65 20 62 75 66 66 65 72 | 20 66 6f 72 20 65 61 63 |e buffer| for eac|
|00004820| 68 20 72 65 61 64 20 6f | 72 20 77 72 69 74 65 20 |h read o|r write |
|00004830| 6f 70 65 72 61 74 69 6f | 6e 2c 20 6f 72 20 63 68 |operatio|n, or ch|
|00004840| 61 6e 67 65 20 74 68 65 | 20 61 64 64 72 65 73 73 |ange the| address|
|00004850| 20 61 6e 64 20 73 69 7a | 65 20 6f 66 20 74 68 65 | and siz|e of the|
|00004860| 20 62 75 66 66 65 72 20 | 61 73 20 6e 65 63 65 73 | buffer |as neces|
|00004870| 73 61 72 79 2e 0d 57 68 | 65 6e 20 79 6f 75 72 20 |sary..Wh|en your |
|00004880| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 77 72 69 74 |applicat|ion writ|
|00004890| 65 73 20 64 61 74 61 20 | 74 6f 20 61 20 66 69 6c |es data |to a fil|
|000048a0| 65 2c 20 74 68 65 20 46 | 69 6c 65 20 4d 61 6e 61 |e, the F|ile Mana|
|000048b0| 67 65 72 20 74 72 61 6e | 73 66 65 72 73 20 74 68 |ger tran|sfers th|
|000048c0| 65 20 64 61 74 61 20 66 | 72 6f 6d 20 79 6f 75 72 |e data f|rom your|
|000048d0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e d5 73 20 64 | applica|tion.s d|
|000048e0| 61 74 61 20 62 75 66 66 | 65 72 20 61 6e 64 20 77 |ata buff|er and w|
|000048f0| 72 69 74 65 73 20 69 74 | 20 74 6f 20 74 68 65 20 |rites it| to the |
|00004900| 64 69 73 6b 20 63 61 63 | 68 65 2c 20 61 20 70 61 |disk cac|he, a pa|
|00004910| 72 74 20 6f 66 20 52 41 | 4d 20 28 75 73 75 61 6c |rt of RA|M (usual|
|00004920| 6c 79 20 69 6e 20 74 68 | 65 20 53 79 73 74 65 6d |ly in th|e System|
|00004930| 20 68 65 61 70 29 20 74 | 68 61 74 20 61 63 74 73 | heap) t|hat acts|
|00004940| 20 61 73 20 61 6e 20 69 | 6e 74 65 72 6d 65 64 69 | as an i|ntermedi|
|00004950| 61 74 65 20 62 75 66 66 | 65 72 20 77 68 65 6e 20 |ate buff|er when |
|00004960| 64 61 74 61 20 69 73 20 | 72 65 61 64 20 66 72 6f |data is |read fro|
|00004970| 6d 20 61 6e 64 20 77 72 | 69 74 74 65 6e 20 74 6f |m and wr|itten to|
|00004980| 20 74 68 65 20 66 69 6c | 65 20 73 79 73 74 65 6d | the fil|e system|
|00004990| 2e 20 57 68 65 6e 20 79 | 6f 75 72 20 61 70 70 6c |. When y|our appl|
|000049a0| 69 63 61 74 69 6f 6e 20 | 72 65 71 75 65 73 74 73 |ication |requests|
|000049b0| 20 74 68 61 74 20 64 61 | 74 61 20 62 65 20 72 65 | that da|ta be re|
|000049c0| 61 64 20 66 72 6f 6d 20 | 61 20 66 69 6c 65 2c 20 |ad from |a file, |
|000049d0| 74 68 65 20 46 69 6c 65 | 20 4d 61 6e 61 67 65 72 |the File| Manager|
|000049e0| 20 6c 6f 6f 6b 73 20 66 | 6f 72 20 74 68 65 20 64 | looks f|or the d|
|000049f0| 61 74 61 20 69 6e 20 74 | 68 65 20 64 69 73 6b 20 |ata in t|he disk |
|00004a00| 63 61 63 68 65 20 61 6e | 64 20 74 72 61 6e 73 66 |cache an|d transf|
|00004a10| 65 72 73 20 69 74 20 74 | 6f 20 79 6f 75 72 20 61 |ers it t|o your a|
|00004a20| 70 70 6c 69 63 61 74 69 | 6f 6e d5 73 20 64 61 74 |pplicati|on.s dat|
|00004a30| 61 20 62 75 66 66 65 72 | 20 69 66 20 74 68 65 20 |a buffer| if the |
|00004a40| 64 61 74 61 20 69 73 20 | 66 6f 75 6e 64 20 69 6e |data is |found in|
|00004a50| 20 74 68 65 20 63 61 63 | 68 65 3b 20 6f 74 68 65 | the cac|he; othe|
|00004a60| 72 77 69 73 65 2c 20 74 | 68 65 20 46 69 6c 65 20 |rwise, t|he File |
|00004a70| 4d 61 6e 61 67 65 72 20 | 72 65 61 64 73 20 74 68 |Manager |reads th|
|00004a80| 65 20 72 65 71 75 65 73 | 74 65 64 20 62 79 74 65 |e reques|ted byte|
|00004a90| 73 20 66 72 6f 6d 20 74 | 68 65 20 64 69 73 6b 20 |s from t|he disk |
|00004aa0| 61 6e 64 20 70 75 74 73 | 20 74 68 65 6d 20 69 6e |and puts| them in|
|00004ab0| 20 79 6f 75 72 20 64 61 | 74 61 20 62 75 66 66 65 | your da|ta buffe|
|00004ac0| 72 2e 0d 59 6f 75 20 63 | 61 6e 20 61 6c 73 6f 20 |r..You c|an also |
|00004ad0| 72 65 61 64 20 61 20 63 | 6f 6e 74 69 6e 75 6f 75 |read a c|ontinuou|
|00004ae0| 73 20 73 74 72 65 61 6d | 20 6f 66 20 63 68 61 72 |s stream| of char|
|00004af0| 61 63 74 65 72 73 20 6f | 72 20 61 20 6c 69 6e 65 |acters o|r a line|
|00004b00| 20 6f 66 20 63 68 61 72 | 61 63 74 65 72 73 20 66 | of char|acters f|
|00004b10| 72 6f 6d 20 61 20 66 69 | 6c 65 2e 20 49 6e 20 74 |rom a fi|le. In t|
|00004b20| 68 65 20 66 69 72 73 74 | 20 63 61 73 65 2c 20 79 |he first| case, y|
|00004b30| 6f 75 20 61 73 6b 20 74 | 68 65 20 46 69 6c 65 20 |ou ask t|he File |
|00004b40| 4d 61 6e 61 67 65 72 20 | 74 6f 20 72 65 61 64 20 |Manager |to read |
|00004b50| 61 20 73 70 65 63 69 66 | 69 63 20 6e 75 6d 62 65 |a specif|ic numbe|
|00004b60| 72 20 6f 66 20 62 79 74 | 65 73 3a 20 57 68 65 6e |r of byt|es: When|
|00004b70| 20 74 68 61 74 20 6d 61 | 6e 79 20 68 61 76 65 20 | that ma|ny have |
|00004b80| 62 65 65 6e 20 72 65 61 | 64 2c 20 6f 72 20 77 68 |been rea|d, or wh|
|00004b90| 65 6e 20 74 68 65 20 6d | 61 72 6b 20 72 65 61 63 |en the m|ark reac|
|00004ba0| 68 65 73 20 74 68 65 20 | 6c 6f 67 69 63 61 6c 20 |hes the |logical |
|00004bb0| 65 6e 64 2d 6f 66 2d 66 | 69 6c 65 2c 20 74 68 65 |end-of-f|ile, the|
|00004bc0| 20 72 65 61 64 20 6f 70 | 65 72 61 74 69 6f 6e 20 | read op|eration |
|00004bd0| 74 65 72 6d 69 6e 61 74 | 65 73 2e 20 49 6e 20 74 |terminat|es. In t|
|00004be0| 68 65 20 73 65 63 6f 6e | 64 20 63 61 73 65 2c 20 |he secon|d case, |
|00004bf0| 63 61 6c 6c 65 64 20 6e | 65 77 6c 69 6e 65 20 6d |called n|ewline m|
|00004c00| 6f 64 65 2c 20 74 68 65 | 20 72 65 61 64 20 6f 70 |ode, the| read op|
|00004c10| 65 72 61 74 69 6f 6e 20 | 74 65 72 6d 69 6e 61 74 |eration |terminat|
|00004c20| 65 73 20 77 68 65 6e 20 | 65 69 74 68 65 72 20 6f |es when |either o|
|00004c30| 66 20 74 68 65 20 61 62 | 6f 76 65 20 63 6f 6e 64 |f the ab|ove cond|
|00004c40| 69 74 69 6f 6e 73 20 69 | 73 20 6d 65 74 20 6f 72 |itions i|s met or|
|00004c50| 20 77 68 65 6e 20 61 20 | 73 70 65 63 69 66 69 65 | when a |specifie|
|00004c60| 64 20 63 68 61 72 61 63 | 74 65 72 2c 20 74 68 65 |d charac|ter, the|
|00004c70| 20 6e 65 77 6c 69 6e 65 | 20 63 68 61 72 61 63 74 | newline| charact|
|00004c80| 65 72 2c 20 69 73 20 72 | 65 61 64 2e 20 54 68 65 |er, is r|ead. The|
|00004c90| 20 6e 65 77 6c 69 6e 65 | 20 63 68 61 72 61 63 74 | newline| charact|
|00004ca0| 65 72 20 69 73 20 75 73 | 75 61 6c 6c 79 20 52 65 |er is us|ually Re|
|00004cb0| 74 75 72 6e 20 28 41 53 | 43 49 49 20 63 6f 64 65 |turn (AS|CII code|
|00004cc0| 20 24 30 44 29 2c 20 62 | 75 74 20 69 74 20 63 61 | $0D), b|ut it ca|
|00004cd0| 6e 20 62 65 20 61 6e 79 | 20 63 68 61 72 61 63 74 |n be any| charact|
|00004ce0| 65 72 2e 20 49 6e 66 6f | 72 6d 61 74 69 6f 6e 20 |er. Info|rmation |
|00004cf0| 61 62 6f 75 74 20 6e 65 | 77 6c 69 6e 65 20 6d 6f |about ne|wline mo|
|00004d00| 64 65 20 69 73 20 61 73 | 73 6f 63 69 61 74 65 64 |de is as|sociated|
|00004d10| 20 77 69 74 68 20 65 61 | 63 68 20 61 63 63 65 73 | with ea|ch acces|
|00004d20| 73 20 70 61 74 68 20 74 | 6f 20 61 20 66 69 6c 65 |s path t|o a file|
|00004d30| 2c 20 61 6e 64 20 63 61 | 6e 20 64 69 66 66 65 72 |, and ca|n differ|
|00004d40| 20 66 72 6f 6d 20 6f 6e | 65 20 61 63 63 65 73 73 | from on|e access|
|00004d50| 20 70 61 74 68 20 74 6f | 20 61 6e 6f 74 68 65 72 | path to| another|
|00004d60| 2e 20 53 65 65 20 74 68 | 65 20 63 68 61 70 74 65 |. See th|e chapte|
|00004d70| 72 20 d2 54 68 65 20 46 | 69 6c 65 20 4d 61 6e 61 |r .The F|ile Mana|
|00004d80| 67 65 72 d3 20 69 6e 20 | 74 68 69 73 20 76 6f 6c |ger. in |this vol|
|00004d90| 75 6d 65 20 66 6f 72 20 | 6d 6f 72 65 20 69 6e 66 |ume for |more inf|
|00004da0| 6f 72 6d 61 74 69 6f 6e | 20 61 62 6f 75 74 20 6e |ormation| about n|
|00004db0| 65 77 6c 69 6e 65 20 6d | 6f 64 65 2e 3c 33 36 70 |ewline m|ode.<36p|
|00004dc0| 74 5c 3e 5c 78 31 32 20 | 3c 38 62 61 74 5c 3e 75 |t\>\x12 |<8bat\>u|
|00004dd0| 0d 54 68 65 20 48 69 65 | 72 61 72 63 68 69 63 61 |.The Hie|rarchica|
|00004de0| 6c 20 46 69 6c 65 20 53 | 79 73 74 65 6d 0d 54 68 |l File S|ystem.Th|
|00004df0| 65 20 4d 61 63 69 6e 74 | 6f 73 68 20 4f 70 65 72 |e Macint|osh Oper|
|00004e00| 61 74 69 6e 67 20 53 79 | 73 74 65 6d 20 75 73 65 |ating Sy|stem use|
|00004e10| 73 20 61 20 6d 65 74 68 | 6f 64 20 6f 66 20 6f 72 |s a meth|od of or|
|00004e20| 67 61 6e 69 7a 69 6e 67 | 20 66 69 6c 65 73 20 63 |ganizing| files c|
|00004e30| 61 6c 6c 65 64 20 74 68 | 65 20 68 69 65 72 61 72 |alled th|e hierar|
|00004e40| 63 68 69 63 61 6c 20 66 | 69 6c 65 20 73 79 73 74 |chical f|ile syst|
|00004e50| 65 6d 20 28 48 46 53 29 | 2e 20 49 6e 20 48 46 53 |em (HFS)|. In HFS|
|00004e60| 2c 20 66 69 6c 65 73 20 | 61 72 65 20 67 72 6f 75 |, files |are grou|
|00004e70| 70 65 64 20 69 6e 74 6f | 20 64 69 72 65 63 74 6f |ped into| directo|
|00004e80| 72 69 65 73 20 28 61 6c | 73 6f 20 63 61 6c 6c 65 |ries (al|so calle|
|00004e90| 64 20 66 6f 6c 64 65 72 | 73 29 2c 20 77 68 69 63 |d folder|s), whic|
|00004ea0| 68 20 74 68 65 6d 73 65 | 6c 76 65 73 20 61 72 65 |h themse|lves are|
|00004eb0| 20 67 72 6f 75 70 65 64 | 20 69 6e 74 6f 20 6f 74 | grouped| into ot|
|00004ec0| 68 65 72 20 64 69 72 65 | 63 74 6f 72 69 65 73 2c |her dire|ctories,|
|00004ed0| 20 61 73 20 69 6c 6c 75 | 73 74 72 61 74 65 64 20 | as illu|strated |
|00004ee0| 69 6e 20 46 69 67 75 72 | 65 20 31 2d 34 2e 20 54 |in Figur|e 1-4. T|
|00004ef0| 68 65 20 6e 75 6d 62 65 | 72 20 6c 69 73 74 65 64 |he numbe|r listed|
|00004f00| 20 66 6f 72 20 65 61 63 | 68 20 64 69 72 65 63 74 | for eac|h direct|
|00004f10| 6f 72 79 20 69 73 20 69 | 74 73 20 64 69 72 65 63 |ory is i|ts direc|
|00004f20| 74 6f 72 79 20 49 44 2e | 20 54 68 65 20 64 69 72 |tory ID.| The dir|
|00004f30| 65 63 74 6f 72 79 20 49 | 44 20 69 73 20 6f 6e 65 |ectory I|D is one|
|00004f40| 20 63 6f 6d 70 6f 6e 65 | 6e 74 20 6f 66 20 61 20 | compone|nt of a |
|00004f50| 66 69 6c 65 20 73 79 73 | 74 65 6d 20 73 70 65 63 |file sys|tem spec|
|00004f60| 69 66 69 63 61 74 69 6f | 6e 2c 20 61 73 20 65 78 |ificatio|n, as ex|
|00004f70| 70 6c 61 69 6e 65 64 20 | 69 6e 20 74 68 65 20 6e |plained |in the n|
|00004f80| 65 78 74 20 73 65 63 74 | 69 6f 6e 2c 20 d2 49 64 |ext sect|ion, .Id|
|00004f90| 65 6e 74 69 66 79 69 6e | 67 20 46 69 6c 65 73 20 |entifyin|g Files |
|00004fa0| 61 6e 64 20 44 69 72 65 | 63 74 6f 72 69 65 73 2e |and Dire|ctories.|
|00004fb0| d3 2e 0d 54 68 65 20 4d | 61 63 69 6e 74 6f 73 68 |...The M|acintosh|
|00004fc0| 20 68 69 65 72 61 72 63 | 68 69 63 61 6c 20 66 69 | hierarc|hical fi|
|00004fd0| 6c 65 20 73 79 73 74 65 | 6d 0d 54 68 65 20 46 69 |le syste|m.The Fi|
|00004fe0| 6e 64 65 72 20 69 73 20 | 72 65 73 70 6f 6e 73 69 |nder is |responsi|
|00004ff0| 62 6c 65 20 66 6f 72 20 | 6d 61 6e 61 67 69 6e 67 |ble for |managing|
|00005000| 20 74 68 65 20 66 69 6c | 65 73 20 61 6e 64 20 66 | the fil|es and f|
|00005010| 6f 6c 64 65 72 73 20 6f | 6e 20 74 68 65 20 64 65 |olders o|n the de|
|00005020| 73 6b 74 6f 70 2e 20 49 | 74 20 77 6f 72 6b 73 20 |sktop. I|t works |
|00005030| 77 69 74 68 20 74 68 65 | 20 46 69 6c 65 20 4d 61 |with the| File Ma|
|00005040| 6e 61 67 65 72 20 74 6f | 20 6d 61 69 6e 74 61 69 |nager to| maintai|
|00005050| 6e 20 74 68 65 20 6f 72 | 67 61 6e 69 7a 61 74 69 |n the or|ganizati|
|00005060| 6f 6e 20 6f 66 20 66 69 | 6c 65 73 20 61 6e 64 20 |on of fi|les and |
|00005070| 66 6f 6c 64 65 72 73 20 | 6f 6e 20 61 20 76 6f 6c |folders |on a vol|
|00005080| 75 6d 65 2e 20 54 68 65 | 20 68 69 65 72 61 72 63 |ume. The| hierarc|
|00005090| 68 69 63 61 6c 20 72 65 | 6c 61 74 69 6f 6e 73 68 |hical re|lationsh|
|000050a0| 69 70 20 6f 66 20 66 6f | 6c 64 65 72 73 20 77 69 |ip of fo|lders wi|
|000050b0| 74 68 69 6e 20 66 6f 6c | 64 65 72 73 20 6f 6e 20 |thin fol|ders on |
|000050c0| 74 68 65 20 64 65 73 6b | 74 6f 70 20 63 6f 72 72 |the desk|top corr|
|000050d0| 65 73 70 6f 6e 64 73 20 | 64 69 72 65 63 74 6c 79 |esponds |directly|
|000050e0| 20 74 6f 20 74 68 65 20 | 68 69 65 72 61 72 63 68 | to the |hierarch|
|000050f0| 69 63 61 6c 20 64 69 72 | 65 63 74 6f 72 79 20 73 |ical dir|ectory s|
|00005100| 74 72 75 63 74 75 72 65 | 20 6d 61 69 6e 74 61 69 |tructure| maintai|
|00005110| 6e 65 64 20 6f 6e 20 74 | 68 65 20 76 6f 6c 75 6d |ned on t|he volum|
|00005120| 65 2e 20 54 68 65 20 76 | 6f 6c 75 6d 65 20 69 73 |e. The v|olume is|
|00005130| 20 6b 6e 6f 77 6e 20 61 | 73 20 74 68 65 20 72 6f | known a|s the ro|
|00005140| 6f 74 20 64 69 72 65 63 | 74 6f 72 79 2c 20 61 6e |ot direc|tory, an|
|00005150| 64 20 74 68 65 20 66 6f | 6c 64 65 72 73 20 61 72 |d the fo|lders ar|
|00005160| 65 20 6b 6e 6f 77 6e 20 | 61 73 20 73 75 62 64 69 |e known |as subdi|
|00005170| 72 65 63 74 6f 72 69 65 | 73 2c 20 6f 72 20 73 69 |rectorie|s, or si|
|00005180| 6d 70 6c 79 20 64 69 72 | 65 63 74 6f 72 69 65 73 |mply dir|ectories|
|00005190| 2e 0d 41 20 76 6f 6c 75 | 6d 65 20 61 70 70 65 61 |..A volu|me appea|
|000051a0| 72 73 20 6f 6e 20 74 68 | 65 20 64 65 73 6b 74 6f |rs on th|e deskto|
|000051b0| 70 20 6f 6e 6c 79 20 61 | 66 74 65 72 20 69 74 20 |p only a|fter it |
|000051c0| 68 61 73 20 62 65 65 6e | 20 6d 6f 75 6e 74 65 64 |has been| mounted|
|000051d0| 2e 20 45 6a 65 63 74 61 | 62 6c 65 20 76 6f 6c 75 |. Ejecta|ble volu|
|000051e0| 6d 65 73 20 28 73 75 63 | 68 20 61 73 20 33 2e 35 |mes (suc|h as 3.5|
|000051f0| 2d 69 6e 63 68 20 66 6c | 6f 70 70 79 20 64 69 73 |-inch fl|oppy dis|
|00005200| 6b 73 29 20 61 72 65 20 | 6d 6f 75 6e 74 65 64 20 |ks) are |mounted |
|00005210| 77 68 65 6e 20 74 68 65 | 79 d5 72 65 20 69 6e 73 |when the|y.re ins|
|00005220| 65 72 74 65 64 20 69 6e | 74 6f 20 61 20 64 69 73 |erted in|to a dis|
|00005230| 6b 20 64 72 69 76 65 3b | 20 6e 6f 6e 65 6a 65 63 |k drive;| nonejec|
|00005240| 74 61 62 6c 65 20 76 6f | 6c 75 6d 65 73 20 28 73 |table vo|lumes (s|
|00005250| 75 63 68 20 61 73 20 74 | 68 6f 73 65 20 6f 6e 20 |uch as t|hose on |
|00005260| 68 61 72 64 20 64 69 73 | 6b 73 29 20 61 72 65 20 |hard dis|ks) are |
|00005270| 6d 6f 75 6e 74 65 64 20 | 61 75 74 6f 6d 61 74 69 |mounted |automati|
|00005280| 63 61 6c 6c 79 20 61 74 | 20 73 79 73 74 65 6d 20 |cally at| system |
|00005290| 73 74 61 72 74 75 70 2e | 20 57 68 65 6e 20 61 20 |startup.| When a |
|000052a0| 76 6f 6c 75 6d 65 20 69 | 73 20 6d 6f 75 6e 74 65 |volume i|s mounte|
|000052b0| 64 2c 20 74 68 65 20 46 | 69 6c 65 20 4d 61 6e 61 |d, the F|ile Mana|
|000052c0| 67 65 72 20 72 65 61 64 | 73 20 69 6e 66 6f 72 6d |ger read|s inform|
|000052d0| 61 74 69 6f 6e 20 61 62 | 6f 75 74 20 74 68 65 20 |ation ab|out the |
|000052e0| 76 6f 6c 75 6d 65 20 69 | 6e 74 6f 20 6d 65 6d 6f |volume i|nto memo|
|000052f0| 72 79 20 61 6e 64 20 70 | 6c 61 63 65 73 20 69 74 |ry and p|laces it|
|00005300| 20 69 6e 20 61 20 76 6f | 6c 75 6d 65 20 63 6f 6e | in a vo|lume con|
|00005310| 74 72 6f 6c 20 62 6c 6f | 63 6b 20 28 56 43 42 29 |trol blo|ck (VCB)|
|00005320| 2e 20 54 68 65 20 6e 75 | 6d 62 65 72 20 6f 66 20 |. The nu|mber of |
|00005330| 76 6f 6c 75 6d 65 73 20 | 74 68 61 74 20 63 61 6e |volumes |that can|
|00005340| 20 62 65 20 6d 6f 75 6e | 74 65 64 20 61 74 20 61 | be moun|ted at a|
|00005350| 6e 79 20 74 69 6d 65 20 | 69 73 20 6c 69 6d 69 74 |ny time |is limit|
|00005360| 65 64 20 6f 6e 6c 79 20 | 62 79 20 74 68 65 20 6e |ed only |by the n|
|00005370| 75 6d 62 65 72 20 6f 66 | 20 64 72 69 76 65 73 20 |umber of| drives |
|00005380| 61 74 74 61 63 68 65 64 | 20 61 6e 64 20 61 76 61 |attached| and ava|
|00005390| 69 6c 61 62 6c 65 20 6d | 65 6d 6f 72 79 2e 0d 57 |ilable m|emory..W|
|000053a0| 68 65 6e 20 61 20 76 6f | 6c 75 6d 65 20 69 73 20 |hen a vo|lume is |
|000053b0| 6d 6f 75 6e 74 65 64 2c | 20 74 68 65 20 46 69 6c |mounted,| the Fil|
|000053c0| 65 20 4d 61 6e 61 67 65 | 72 20 61 73 73 69 67 6e |e Manage|r assign|
|000053d0| 73 20 61 20 76 6f 6c 75 | 6d 65 20 72 65 66 65 72 |s a volu|me refer|
|000053e0| 65 6e 63 65 20 6e 75 6d | 62 65 72 20 74 68 61 74 |ence num|ber that|
|000053f0| 20 79 6f 75 20 63 61 6e | 20 75 73 65 20 74 6f 20 | you can| use to |
|00005400| 69 64 65 6e 74 69 66 79 | 20 74 68 65 20 76 6f 6c |identify| the vol|
|00005410| 75 6d 65 20 66 6f 72 20 | 61 73 20 6c 6f 6e 67 20 |ume for |as long |
|00005420| 61 73 20 74 68 65 20 76 | 6f 6c 75 6d 65 20 72 65 |as the v|olume re|
|00005430| 6d 61 69 6e 73 20 6d 6f | 75 6e 74 65 64 2e 20 59 |mains mo|unted. Y|
|00005440| 6f 75 20 63 61 6e 20 61 | 6c 73 6f 20 69 64 65 6e |ou can a|lso iden|
|00005450| 74 69 66 79 20 61 20 76 | 6f 6c 75 6d 65 20 62 79 |tify a v|olume by|
|00005460| 20 69 74 73 20 76 6f 6c | 75 6d 65 20 6e 61 6d 65 | its vol|ume name|
|00005470| 2c 20 61 20 73 65 71 75 | 65 6e 63 65 20 6f 66 20 |, a sequ|ence of |
|00005480| 31 20 74 6f 20 32 37 20 | 70 72 69 6e 74 69 6e 67 |1 to 27 |printing|
|00005490| 20 63 68 61 72 61 63 74 | 65 72 73 2c 20 65 78 63 | charact|ers, exc|
|000054a0| 6c 75 64 69 6e 67 20 63 | 6f 6c 6f 6e 73 20 28 3a |luding c|olons (:|
|000054b0| 29 2e 20 28 54 68 65 20 | 46 69 6c 65 20 4d 61 6e |). (The |File Man|
|000054c0| 61 67 65 72 20 69 67 6e | 6f 72 65 73 20 63 61 73 |ager ign|ores cas|
|000054d0| 65 20 77 68 65 6e 20 63 | 6f 6d 70 61 72 69 6e 67 |e when c|omparing|
|000054e0| 20 6e 61 6d 65 73 20 62 | 75 74 20 64 6f 65 73 20 | names b|ut does |
|000054f0| 72 65 63 6f 67 6e 69 7a | 65 20 64 69 61 63 72 69 |recogniz|e diacri|
|00005500| 74 69 63 61 6c 20 6d 61 | 72 6b 73 2e 29 20 57 68 |tical ma|rks.) Wh|
|00005510| 65 6e 65 76 65 72 20 70 | 6f 73 73 69 62 6c 65 20 |enever p|ossible |
|00005520| 74 68 6f 75 67 68 2c 20 | 79 6f 75 20 73 68 6f 75 |though, |you shou|
|00005530| 6c 64 20 75 73 65 20 74 | 68 65 20 76 6f 6c 75 6d |ld use t|he volum|
|00005540| 65 20 72 65 66 65 72 65 | 6e 63 65 20 6e 75 6d 62 |e refere|nce numb|
|00005550| 65 72 20 74 6f 20 61 76 | 6f 69 64 20 63 6f 6e 66 |er to av|oid conf|
|00005560| 75 73 69 6f 6e 20 62 65 | 74 77 65 65 6e 20 76 6f |usion be|tween vo|
|00005570| 6c 75 6d 65 73 20 77 69 | 74 68 20 74 68 65 20 73 |lumes wi|th the s|
|00005580| 61 6d 65 20 6e 61 6d 65 | 2e 0d 41 20 76 6f 6c 75 |ame name|..A volu|
|00005590| 6d 65 20 72 65 66 65 72 | 65 6e 63 65 20 6e 75 6d |me refer|ence num|
|000055a0| 62 65 72 20 69 73 20 76 | 61 6c 69 64 20 6f 6e 6c |ber is v|alid onl|
|000055b0| 79 20 75 6e 74 69 6c 20 | 74 68 65 20 76 6f 6c 75 |y until |the volu|
|000055c0| 6d 65 20 69 73 20 75 6e | 6d 6f 75 6e 74 65 64 2e |me is un|mounted.|
|000055d0| 20 41 20 73 69 6e 67 6c | 65 20 76 6f 6c 75 6d 65 | A singl|e volume|
|000055e0| 20 74 68 61 74 20 69 73 | 20 6d 6f 75 6e 74 65 64 | that is| mounted|
|000055f0| 2c 20 75 6e 6d 6f 75 6e | 74 65 64 2c 20 61 6e 64 |, unmoun|ted, and|
|00005600| 20 74 68 65 6e 20 72 65 | 6d 6f 75 6e 74 65 64 20 | then re|mounted |
|00005610| 63 61 6e 20 68 61 76 65 | 20 61 20 64 69 66 66 65 |can have| a diffe|
|00005620| 72 65 6e 74 20 76 6f 6c | 75 6d 65 20 72 65 66 65 |rent vol|ume refe|
|00005630| 72 65 6e 63 65 20 6e 75 | 6d 62 65 72 20 77 68 65 |rence nu|mber whe|
|00005640| 6e 20 72 65 6d 6f 75 6e | 74 65 64 2e 3c 33 36 70 |n remoun|ted.<36p|
|00005650| 74 5c 3e 5c 78 31 32 20 | 3c 38 62 61 74 5c 3e 75 |t\>\x12 |<8bat\>u|
|00005660| 0d 57 68 65 6e 20 61 6e | 20 61 70 70 6c 69 63 61 |.When an| applica|
|00005670| 74 69 6f 6e 20 65 6a 65 | 63 74 73 20 61 20 33 2e |tion eje|cts a 3.|
|00005680| 35 2d 69 6e 63 68 20 64 | 69 73 6b 20 66 72 6f 6d |5-inch d|isk from|
|00005690| 20 61 20 64 72 69 76 65 | 2c 20 74 68 65 20 46 69 | a drive|, the Fi|
|000056a0| 6c 65 20 4d 61 6e 61 67 | 65 72 20 70 6c 61 63 65 |le Manag|er place|
|000056b0| 73 20 74 68 65 20 76 6f | 6c 75 6d 65 20 6f 66 66 |s the vo|lume off|
|000056c0| 2d 6c 69 6e 65 2e 20 57 | 68 65 6e 20 61 20 76 6f |-line. W|hen a vo|
|000056d0| 6c 75 6d 65 20 69 73 20 | 6f 66 66 2d 6c 69 6e 65 |lume is |off-line|
|000056e0| 2c 20 74 68 65 20 76 6f | 6c 75 6d 65 20 63 6f 6e |, the vo|lume con|
|000056f0| 74 72 6f 6c 20 62 6c 6f | 63 6b 20 69 73 20 6b 65 |trol blo|ck is ke|
|00005700| 70 74 20 69 6e 20 6d 65 | 6d 6f 72 79 20 61 6e 64 |pt in me|mory and|
|00005710| 20 74 68 65 20 76 6f 6c | 75 6d 65 20 72 65 66 65 | the vol|ume refe|
|00005720| 72 65 6e 63 65 20 6e 75 | 6d 62 65 72 20 69 73 20 |rence nu|mber is |
|00005730| 73 74 69 6c 6c 20 76 61 | 6c 69 64 2e 20 49 66 20 |still va|lid. If |
|00005740| 79 6f 75 20 6d 61 6b 65 | 20 61 20 46 69 6c 65 20 |you make| a File |
|00005750| 4d 61 6e 61 67 65 72 20 | 63 61 6c 6c 20 74 68 61 |Manager |call tha|
|00005760| 74 20 73 70 65 63 69 66 | 69 65 73 20 74 68 61 74 |t specif|ies that|
|00005770| 20 76 6f 6c 75 6d 65 2c | 20 74 68 65 20 46 69 6c | volume,| the Fil|
|00005780| 65 20 4d 61 6e 61 67 65 | 72 20 70 72 65 73 65 6e |e Manage|r presen|
|00005790| 74 73 20 74 68 65 20 64 | 69 73 6b 20 73 77 69 74 |ts the d|isk swit|
|000057a0| 63 68 20 64 69 61 6c 6f | 67 20 62 6f 78 20 74 6f |ch dialo|g box to|
|000057b0| 20 74 68 65 20 75 73 65 | 72 2e 20 46 69 67 75 72 | the use|r. Figur|
|000057c0| 65 20 31 2d 35 20 73 68 | 6f 77 73 20 61 20 73 61 |e 1-5 sh|ows a sa|
|000057d0| 6d 70 6c 65 20 64 69 73 | 6b 20 73 77 69 74 63 68 |mple dis|k switch|
|000057e0| 20 64 69 61 6c 6f 67 20 | 62 6f 78 2e 0d 54 68 65 | dialog |box..The|
|000057f0| 20 64 69 73 6b 20 73 77 | 69 74 63 68 20 64 69 61 | disk sw|itch dia|
|00005800| 6c 6f 67 20 62 6f 78 0d | 57 68 65 6e 20 74 68 65 |log box.|When the|
|00005810| 20 75 73 65 72 20 64 72 | 61 67 73 20 61 20 76 6f | user dr|ags a vo|
|00005820| 6c 75 6d 65 20 69 63 6f | 6e 20 69 6e 74 6f 20 74 |lume ico|n into t|
|00005830| 68 65 20 54 72 61 73 68 | 2c 20 74 68 61 74 20 76 |he Trash|, that v|
|00005840| 6f 6c 75 6d 65 20 69 73 | 20 75 6e 6d 6f 75 6e 74 |olume is| unmount|
|00005850| 65 64 3b 20 74 68 65 20 | 76 6f 6c 75 6d 65 20 63 |ed; the |volume c|
|00005860| 6f 6e 74 72 6f 6c 20 62 | 6c 6f 63 6b 20 69 73 20 |ontrol b|lock is |
|00005870| 72 65 6c 65 61 73 65 64 | 2c 20 61 6e 64 20 74 68 |released|, and th|
|00005880| 65 20 76 6f 6c 75 6d 65 | 20 69 73 20 6e 6f 20 6c |e volume| is no l|
|00005890| 6f 6e 67 65 72 20 6b 6e | 6f 77 6e 20 74 6f 20 74 |onger kn|own to t|
|000058a0| 68 65 20 46 69 6c 65 20 | 4d 61 6e 61 67 65 72 2e |he File |Manager.|
|000058b0| 20 49 6e 20 70 61 72 74 | 69 63 75 6c 61 72 2c 20 | In part|icular, |
|000058c0| 74 68 65 20 76 6f 6c 75 | 6d 65 20 72 65 66 65 72 |the volu|me refer|
|000058d0| 65 6e 63 65 20 6e 75 6d | 62 65 72 20 70 72 65 76 |ence num|ber prev|
|000058e0| 69 6f 75 73 6c 79 20 61 | 73 73 69 67 6e 65 64 20 |iously a|ssigned |
|000058f0| 74 6f 20 74 68 65 20 76 | 6f 6c 75 6d 65 20 69 73 |to the v|olume is|
|00005900| 20 6e 6f 20 6c 6f 6e 67 | 65 72 20 76 61 6c 69 64 | no long|er valid|
|00005910| 2e 0d 45 61 63 68 20 73 | 75 62 64 69 72 65 63 74 |..Each s|ubdirect|
|00005920| 6f 72 79 20 69 73 20 6c | 6f 63 61 74 65 64 20 77 |ory is l|ocated w|
|00005930| 69 74 68 69 6e 20 61 20 | 64 69 72 65 63 74 6f 72 |ithin a |director|
|00005940| 79 20 63 61 6c 6c 65 64 | 20 69 74 73 20 70 61 72 |y called| its par|
|00005950| 65 6e 74 20 64 69 72 65 | 63 74 6f 72 79 2e 20 54 |ent dire|ctory. T|
|00005960| 79 70 69 63 61 6c 6c 79 | 2c 20 74 68 65 20 70 61 |ypically|, the pa|
|00005970| 72 65 6e 74 20 64 69 72 | 65 63 74 6f 72 79 20 69 |rent dir|ectory i|
|00005980| 73 20 73 70 65 63 69 66 | 69 65 64 20 62 79 20 61 |s specif|ied by a|
|00005990| 20 70 61 72 65 6e 74 20 | 64 69 72 65 63 74 6f 72 | parent |director|
|000059a0| 79 20 49 44 2c 20 77 68 | 69 63 68 20 69 73 20 73 |y ID, wh|ich is s|
|000059b0| 69 6d 70 6c 79 20 74 68 | 65 20 64 69 72 65 63 74 |imply th|e direct|
|000059c0| 6f 72 79 20 49 44 20 6f | 66 20 74 68 65 20 70 61 |ory ID o|f the pa|
|000059d0| 72 65 6e 74 20 64 69 72 | 65 63 74 6f 72 79 2e 20 |rent dir|ectory. |
|000059e0| 54 68 65 20 46 69 6c 65 | 20 4d 61 6e 61 67 65 72 |The File| Manager|
|000059f0| 20 61 73 73 69 67 6e 73 | 20 61 20 73 70 65 63 69 | assigns| a speci|
|00005a00| 61 6c 20 70 61 72 65 6e | 74 20 64 69 72 65 63 74 |al paren|t direct|
|00005a10| 6f 72 79 20 49 44 20 74 | 6f 20 61 20 76 6f 6c 75 |ory ID t|o a volu|
|00005a20| 6d 65 d5 73 20 72 6f 6f | 74 20 64 69 72 65 63 74 |me.s roo|t direct|
|00005a30| 6f 72 79 2e 20 54 68 69 | 73 20 69 73 20 70 72 69 |ory. Thi|s is pri|
|00005a40| 6d 61 72 69 6c 79 20 74 | 6f 20 70 65 72 6d 69 74 |marily t|o permit|
|00005a50| 20 61 20 63 6f 6e 73 69 | 73 74 65 6e 74 20 6d 65 | a consi|stent me|
|00005a60| 74 68 6f 64 20 6f 66 20 | 69 64 65 6e 74 69 66 79 |thod of |identify|
|00005a70| 69 6e 67 20 66 69 6c 65 | 73 20 61 6e 64 20 64 69 |ing file|s and di|
|00005a80| 72 65 63 74 6f 72 69 65 | 73 20 75 73 69 6e 67 20 |rectorie|s using |
|00005a90| 74 68 65 20 76 6f 6c 75 | 6d 65 20 72 65 66 65 72 |the volu|me refer|
|00005aa0| 65 6e 63 65 20 6e 75 6d | 62 65 72 2c 20 74 68 65 |ence num|ber, the|
|00005ab0| 20 70 61 72 65 6e 74 20 | 64 69 72 65 63 74 6f 72 | parent |director|
|00005ac0| 79 20 49 44 2c 20 61 6e | 64 20 74 68 65 20 66 69 |y ID, an|d the fi|
|00005ad0| 6c 65 20 6f 72 20 64 69 | 72 65 63 74 6f 72 79 20 |le or di|rectory |
|00005ae0| 6e 61 6d 65 2e 20 53 65 | 65 20 74 68 65 20 6e 65 |name. Se|e the ne|
|00005af0| 78 74 20 73 65 63 74 69 | 6f 6e 2c 20 d2 49 64 65 |xt secti|on, .Ide|
|00005b00| 6e 74 69 66 79 69 6e 67 | 20 46 69 6c 65 73 20 61 |ntifying| Files a|
|00005b10| 6e 64 20 44 69 72 65 63 | 74 6f 72 69 65 73 2c d3 |nd Direc|tories,.|
|00005b20| 20 66 6f 72 20 64 65 74 | 61 69 6c 73 2e 0d 46 6f | for det|ails..Fo|
|00005b30| 72 20 74 68 65 20 6d 6f | 73 74 20 70 61 72 74 2c |r the mo|st part,|
|00005b40| 20 79 6f 75 72 20 61 70 | 70 6c 69 63 61 74 69 6f | your ap|plicatio|
|00005b50| 6e 20 64 6f 65 73 20 6e | 6f 74 20 6e 65 65 64 20 |n does n|ot need |
|00005b60| 74 6f 20 62 65 20 63 6f | 6e 63 65 72 6e 65 64 20 |to be co|ncerned |
|00005b70| 61 62 6f 75 74 2c 20 6f | 72 20 6b 65 65 70 20 74 |about, o|r keep t|
|00005b80| 72 61 63 6b 20 6f 66 2c | 20 74 68 65 20 6c 6f 63 |rack of,| the loc|
|00005b90| 61 74 69 6f 6e 20 6f 66 | 20 66 69 6c 65 73 20 69 |ation of| files i|
|00005ba0| 6e 20 74 68 65 20 66 69 | 6c 65 20 73 79 73 74 65 |n the fi|le syste|
|00005bb0| 6d 20 68 69 65 72 61 72 | 63 68 79 2e 20 4d 6f 73 |m hierar|chy. Mos|
|00005bc0| 74 20 6f 66 20 74 68 65 | 20 66 69 6c 65 73 20 79 |t of the| files y|
|00005bd0| 6f 75 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |our appl|ication |
|00005be0| 6f 70 65 6e 73 20 61 6e | 64 20 73 61 76 65 73 20 |opens an|d saves |
|00005bf0| 61 72 65 20 73 70 65 63 | 69 66 69 65 64 20 62 79 |are spec|ified by|
|00005c00| 20 74 68 65 20 75 73 65 | 72 20 6f 72 20 61 6e 6f | the use|r or ano|
|00005c10| 74 68 65 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |ther app|lication|
|00005c20| 2c 20 61 6e 64 20 74 68 | 65 69 72 20 6c 6f 63 61 |, and th|eir loca|
|00005c30| 74 69 6f 6e 20 69 73 20 | 70 72 6f 76 69 64 65 64 |tion is |provided|
|00005c40| 20 74 6f 20 79 6f 75 72 | 20 61 70 70 6c 69 63 61 | to your| applica|
|00005c50| 74 69 6f 6e 20 62 79 20 | 65 69 74 68 65 72 20 74 |tion by |either t|
|00005c60| 68 65 20 46 69 6e 64 65 | 72 20 6f 72 20 74 68 65 |he Finde|r or the|
|00005c70| 20 53 74 61 6e 64 61 72 | 64 20 46 69 6c 65 20 50 | Standar|d File P|
|00005c80| 61 63 6b 61 67 65 2e 20 | 4f 6e 65 20 6e 6f 74 61 |ackage. |One nota|
|00005c90| 62 6c 65 20 65 78 63 65 | 70 74 69 6f 6e 20 68 65 |ble exce|ption he|
|00005ca0| 72 65 20 63 6f 6e 63 65 | 72 6e 73 20 70 72 65 66 |re conce|rns pref|
|00005cb0| 65 72 65 6e 63 65 73 20 | 66 69 6c 65 73 2c 20 77 |erences |files, w|
|00005cc0| 68 69 63 68 20 61 72 65 | 20 74 79 70 69 63 61 6c |hich are| typical|
|00005cd0| 6c 79 20 73 74 6f 72 65 | 64 20 69 6e 20 74 68 65 |ly store|d in the|
|00005ce0| 20 50 72 65 66 65 72 65 | 6e 63 65 73 20 66 6f 6c | Prefere|nces fol|
|00005cf0| 64 65 72 20 69 6e 20 74 | 68 65 20 63 75 72 72 65 |der in t|he curre|
|00005d00| 6e 74 6c 79 20 61 63 74 | 69 76 65 20 53 79 73 74 |ntly act|ive Syst|
|00005d10| 65 6d 20 46 6f 6c 64 65 | 72 2e 20 53 65 65 20 d2 |em Folde|r. See .|
|00005d20| 55 73 69 6e 67 20 61 20 | 50 72 65 66 65 72 65 6e |Using a |Preferen|
|00005d30| 63 65 73 20 46 69 6c 65 | d3 20 66 6f 72 20 69 6e |ces File|. for in|
|00005d40| 73 74 72 75 63 74 69 6f | 6e 73 20 6f 6e 20 66 69 |structio|ns on fi|
|00005d50| 6e 64 69 6e 67 20 70 72 | 65 66 65 72 65 6e 63 65 |nding pr|eference|
|00005d60| 73 20 66 69 6c 65 73 2e | 0d 49 6e 20 61 64 64 69 |s files.|.In addi|
|00005d70| 74 69 6f 6e 20 74 6f 20 | 66 69 6c 65 73 2c 20 66 |tion to |files, f|
|00005d80| 6f 6c 64 65 72 73 2c 20 | 61 6e 64 20 76 6f 6c 75 |olders, |and volu|
|00005d90| 6d 65 73 2c 20 61 20 75 | 73 65 72 20 6d 69 67 68 |mes, a u|ser migh|
|00005da0| 74 20 61 6c 73 6f 20 73 | 65 65 20 61 20 66 6f 75 |t also s|ee a fou|
|00005db0| 72 74 68 20 74 79 70 65 | 20 6f 66 20 6f 62 6a 65 |rth type| of obje|
|00005dc0| 63 74 20 6f 6e 20 74 68 | 65 20 46 69 6e 64 65 72 |ct on th|e Finder|
|00005dd0| 20 64 65 73 6b 74 6f 70 | 2c 20 6e 61 6d 65 6c 79 | desktop|, namely|
|00005de0| 20 61 6e 20 61 6c 69 61 | 73 2e 20 41 6e 20 61 6c | an alia|s. An al|
|00005df0| 69 61 73 20 69 73 20 61 | 20 73 70 65 63 69 61 6c |ias is a| special|
|00005e00| 20 6b 69 6e 64 20 6f 66 | 20 66 69 6c 65 20 74 68 | kind of| file th|
|00005e10| 61 74 20 72 65 70 72 65 | 73 65 6e 74 73 20 61 6e |at repre|sents an|
|00005e20| 6f 74 68 65 72 20 66 69 | 6c 65 2c 20 66 6f 6c 64 |other fi|le, fold|
|00005e30| 65 72 2c 20 6f 72 20 76 | 6f 6c 75 6d 65 2e 20 54 |er, or v|olume. T|
|00005e40| 68 65 20 46 69 6e 64 65 | 72 20 61 6e 64 20 74 68 |he Finde|r and th|
|00005e50| 65 20 53 74 61 6e 64 61 | 72 64 20 46 69 6c 65 20 |e Standa|rd File |
|00005e60| 50 61 63 6b 61 67 65 20 | 61 75 74 6f 6d 61 74 69 |Package |automati|
|00005e70| 63 61 6c 6c 79 20 72 65 | 73 6f 6c 76 65 20 61 6c |cally re|solve al|
|00005e80| 69 61 73 65 73 20 62 65 | 66 6f 72 65 20 70 61 73 |iases be|fore pas|
|00005e90| 73 69 6e 67 20 74 68 65 | 6d 20 74 6f 20 79 6f 75 |sing the|m to you|
|00005ea0| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 2c 20 73 |r applic|ation, s|
|00005eb0| 6f 20 79 6f 75 20 67 65 | 6e 65 72 61 6c 6c 79 20 |o you ge|nerally |
|00005ec0| 64 6f 6e d5 74 20 6e 65 | 65 64 20 74 6f 20 64 6f |don.t ne|ed to do|
|00005ed0| 20 61 6e 79 74 68 69 6e | 67 20 77 69 74 68 20 61 | anythin|g with a|
|00005ee0| 6c 69 61 73 65 73 2e 20 | 46 6f 72 20 6d 6f 72 65 |liases. |For more|
|00005ef0| 20 69 6e 66 6f 72 6d 61 | 74 69 6f 6e 20 6f 6e 20 | informa|tion on |
|00005f00| 77 6f 72 6b 69 6e 67 20 | 77 69 74 68 20 61 6c 69 |working |with ali|
|00005f10| 61 73 20 66 69 6c 65 73 | 2c 20 73 65 65 20 74 68 |as files|, see th|
|00005f20| 65 20 63 68 61 70 74 65 | 72 20 d2 54 68 65 20 46 |e chapte|r .The F|
|00005f30| 69 6e 64 65 72 20 49 6e | 74 65 72 66 61 63 65 d3 |inder In|terface.|
|00005f40| 20 69 6e 20 74 68 65 20 | 55 73 65 72 20 49 6e 74 | in the |User Int|
|00005f50| 65 72 66 61 63 65 20 54 | 6f 6f 6c 62 6f 78 20 76 |erface T|oolbox v|
|00005f60| 6f 6c 75 6d 65 20 61 6e | 64 20 74 68 65 20 63 68 |olume an|d the ch|
|00005f70| 61 70 74 65 72 20 d2 54 | 68 65 20 41 6c 69 61 73 |apter .T|he Alias|
|00005f80| 20 4d 61 6e 61 67 65 72 | d3 20 69 6e 20 74 68 69 | Manager|. in thi|
|00005f90| 73 20 76 6f 6c 75 6d 65 | 2e 3c 33 36 70 74 5c 3e |s volume|.<36pt\>|
|00005fa0| 5c 78 31 32 20 3c 38 62 | 61 74 5c 3e 75 0d 49 64 |\x12 <8b|at\>u.Id|
|00005fb0| 65 6e 74 69 66 79 69 6e | 67 20 46 69 6c 65 73 20 |entifyin|g Files |
|00005fc0| 61 6e 64 20 44 69 72 65 | 63 74 6f 72 69 65 73 0d |and Dire|ctories.|
|00005fd0| 54 68 65 20 68 69 65 72 | 61 72 63 68 69 63 61 6c |The hier|archical|
|00005fe0| 20 61 72 72 61 6e 67 65 | 6d 65 6e 74 20 6f 66 20 | arrange|ment of |
|00005ff0| 66 69 6c 65 73 20 61 6e | 64 20 64 69 72 65 63 74 |files an|d direct|
|00006000| 6f 72 69 65 73 20 61 6c | 6c 6f 77 73 20 79 6f 75 |ories al|lows you|
|00006010| 20 74 6f 20 69 64 65 6e | 74 69 66 79 20 61 20 66 | to iden|tify a f|
|00006020| 69 6c 65 20 6f 72 20 64 | 69 72 65 63 74 6f 72 79 |ile or d|irectory|
|00006030| 20 75 6e 69 71 75 65 6c | 79 20 62 79 20 70 72 6f | uniquel|y by pro|
|00006040| 76 69 64 69 6e 67 20 6a | 75 73 74 20 74 68 72 65 |viding j|ust thre|
|00006050| 65 20 70 69 65 63 65 73 | 20 6f 66 20 69 6e 66 6f |e pieces| of info|
|00006060| 72 6d 61 74 69 6f 6e 3a | 20 69 74 73 20 76 6f 6c |rmation:| its vol|
|00006070| 75 6d 65 20 72 65 66 65 | 72 65 6e 63 65 20 6e 75 |ume refe|rence nu|
|00006080| 6d 62 65 72 2c 20 69 74 | 73 20 70 61 72 65 6e 74 |mber, it|s parent|
|00006090| 20 64 69 72 65 63 74 6f | 72 79 20 49 44 2c 20 61 | directo|ry ID, a|
|000060a0| 6e 64 20 69 74 73 20 6e | 61 6d 65 20 77 69 74 68 |nd its n|ame with|
|000060b0| 69 6e 20 74 68 61 74 20 | 70 61 72 65 6e 74 20 64 |in that |parent d|
|000060c0| 69 72 65 63 74 6f 72 79 | 2e 20 54 68 65 20 73 79 |irectory|. The sy|
|000060d0| 73 74 65 6d 20 73 6f 66 | 74 77 61 72 65 20 6c 65 |stem sof|tware le|
|000060e0| 74 73 20 79 6f 75 20 73 | 70 65 63 69 66 79 20 74 |ts you s|pecify t|
|000060f0| 68 65 73 65 20 74 68 72 | 65 65 20 69 74 65 6d 73 |hese thr|ee items|
|00006100| 20 74 6f 67 65 74 68 65 | 72 20 69 6e 20 61 20 66 | togethe|r in a f|
|00006110| 69 6c 65 20 73 79 73 74 | 65 6d 20 73 70 65 63 69 |ile syst|em speci|
|00006120| 66 69 63 61 74 69 6f 6e | 20 72 65 63 6f 72 64 2c |fication| record,|
|00006130| 20 64 65 66 69 6e 65 64 | 20 62 79 20 74 68 65 20 | defined| by the |
|00006140| 46 53 53 70 65 63 20 64 | 61 74 61 20 74 79 70 65 |FSSpec d|ata type|
|00006150| 3a 0d 54 59 50 45 20 46 | 53 53 70 65 63 20 09 09 |:.TYPE F|SSpec ..|
|00006160| 09 09 09 09 09 09 3d 09 | 09 09 09 7b 66 69 6c 65 |......=.|...{file|
|00006170| 20 73 79 73 74 65 6d 20 | 73 70 65 63 69 66 69 63 | system |specific|
|00006180| 61 74 69 6f 6e 7d 09 0d | 52 45 43 4f 52 44 0d 09 |ation}..|RECORD..|
|00006190| 09 09 09 76 52 65 66 4e | 75 6d 3a 09 09 09 09 49 |...vRefN|um:....I|
|000061a0| 6e 74 65 67 65 72 3b 09 | 09 09 09 7b 76 6f 6c 75 |nteger;.|...{volu|
|000061b0| 6d 65 20 72 65 66 65 72 | 65 6e 63 65 20 6e 75 6d |me refer|ence num|
|000061c0| 62 65 72 7d 09 0d 09 09 | 09 09 70 61 72 49 44 3a |ber}....|..parID:|
|000061d0| 09 09 09 09 4c 6f 6e 67 | 49 6e 74 3b 09 09 09 09 |....Long|Int;....|
|000061e0| 7b 64 69 72 65 63 74 6f | 72 79 20 49 44 20 6f 66 |{directo|ry ID of|
|000061f0| 20 70 61 72 65 6e 74 20 | 64 69 72 65 63 74 6f 72 | parent |director|
|00006200| 79 7d 09 0d 09 09 09 09 | 6e 61 6d 65 3a 09 09 09 |y}......|name:...|
|00006210| 09 53 74 72 36 33 09 3b | 09 09 09 7b 66 69 6c 65 |.Str63.;|...{file|
|00006220| 6e 61 6d 65 20 6f 72 20 | 64 69 72 65 63 74 6f 72 |name or |director|
|00006230| 79 20 6e 61 6d 65 7d 09 | 0d 45 4e 44 3b 0d 54 68 |y name}.|.END;.Th|
|00006240| 65 20 46 53 53 70 65 63 | 20 72 65 63 6f 72 64 20 |e FSSpec| record |
|00006250| 70 72 6f 76 69 64 65 73 | 20 61 20 73 69 6d 70 6c |provides| a simpl|
|00006260| 65 20 61 6e 64 20 73 74 | 61 6e 64 61 72 64 20 66 |e and st|andard f|
|00006270| 6f 72 6d 61 74 20 66 6f | 72 20 73 70 65 63 69 66 |ormat fo|r specif|
|00006280| 79 69 6e 67 20 66 69 6c | 65 73 20 61 6e 64 20 64 |ying fil|es and d|
|00006290| 69 72 65 63 74 6f 72 69 | 65 73 2e 20 46 6f 72 20 |irectori|es. For |
|000062a0| 65 78 61 6d 70 6c 65 2c | 20 74 68 65 20 53 74 61 |example,| the Sta|
|000062b0| 6e 64 61 72 64 20 46 69 | 6c 65 20 50 61 63 6b 61 |ndard Fi|le Packa|
|000062c0| 67 65 20 70 72 6f 63 65 | 64 75 72 65 20 53 74 61 |ge proce|dure Sta|
|000062d0| 6e 64 61 72 64 47 65 74 | 46 69 6c 65 20 72 65 74 |ndardGet|File ret|
|000062e0| 75 72 6e 73 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |urns inf|ormation|
|000062f0| 20 69 64 65 6e 74 69 66 | 79 69 6e 67 20 61 20 75 | identif|ying a u|
|00006300| 73 65 72 2d 73 65 6c 65 | 63 74 65 64 20 66 69 6c |ser-sele|cted fil|
|00006310| 65 20 6f 72 20 66 6f 6c | 64 65 72 20 69 6e 20 61 |e or fol|der in a|
|00006320| 6e 20 46 53 53 70 65 63 | 20 72 65 63 6f 72 64 2e |n FSSpec| record.|
|00006330| 20 59 6f 75 20 63 61 6e | 20 70 61 73 73 20 74 68 | You can| pass th|
|00006340| 61 74 20 69 64 65 6e 74 | 69 66 69 63 61 74 69 6f |at ident|ificatio|
|00006350| 6e 20 64 69 72 65 63 74 | 6c 79 20 74 6f 20 61 6e |n direct|ly to an|
|00006360| 79 20 66 69 6c 65 2d 6d | 61 6e 69 70 75 6c 61 74 |y file-m|anipulat|
|00006370| 69 6f 6e 20 72 6f 75 74 | 69 6e 65 73 20 74 68 61 |ion rout|ines tha|
|00006380| 74 20 61 63 63 65 70 74 | 20 46 53 53 70 65 63 20 |t accept| FSSpec |
|00006390| 72 65 63 6f 72 64 73 2c | 20 73 75 63 68 20 61 73 |records,| such as|
|000063a0| 20 46 53 70 4f 70 65 6e | 44 46 20 61 6e 64 20 46 | FSpOpen|DF and F|
|000063b0| 53 70 44 65 6c 65 74 65 | 2e 20 49 6e 20 61 64 64 |SpDelete|. In add|
|000063c0| 69 74 69 6f 6e 2c 20 74 | 68 65 20 41 6c 69 61 73 |ition, t|he Alias|
|000063d0| 20 4d 61 6e 61 67 65 72 | 2c 20 45 64 69 74 69 6f | Manager|, Editio|
|000063e0| 6e 20 4d 61 6e 61 67 65 | 72 2c 20 61 6e 64 20 46 |n Manage|r, and F|
|000063f0| 69 6e 64 65 72 20 61 6c | 6c 20 75 73 65 20 46 53 |inder al|l use FS|
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.